mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-24 20:46: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
|
|
```
|