We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f533b66 commit 8980e66Copy full SHA for 8980e66
README.md
@@ -73,7 +73,23 @@ console.log( !!myVar ) // false
73
74
console.log( Boolean(mySecondVar) ) // true
75
console.log( !!mySecondVar ) // true
76
+```
77
+
78
+# How to repeat a string
79
+```javascript
80
81
+let aliens = '';
82
83
+for(let i = 0 ; i < 6 ; i++){
84
+ aliens += '👽'
85
+}
86
+//👽👽👽👽👽👽
87
88
+Array(6).join('👽')
89
90
91
92
+'👽'.repeat(6)
93
94
95
```
0 commit comments