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