mirror of
https://github.com/alrayyes/wiki.git
synced 2024-12-01 15:26:23 +00:00
10 lines
167 B
Markdown
10 lines
167 B
Markdown
---
|
|
id: e3638bb4-1baa-4619-b2b9-283040f14b65
|
|
title: JavaScript String Repeat Method
|
|
---
|
|
|
|
# Syntax
|
|
|
|
``` javascript
|
|
console.log('dodo '.repeat(3)) // dodo dodo dodo
|
|
```
|