mirror of
https://github.com/jbranchaud/til
synced 2026-01-04 23:58:01 +00:00
Add draft of a new til
This commit is contained in:
12
javascript/expand-emojis-with-the-spread-operator.md
Normal file
12
javascript/expand-emojis-with-the-spread-operator.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# Expand Emojis With The Spread Operator
|
||||
|
||||
```javascript
|
||||
[... '🔥']
|
||||
["🔥"]
|
||||
[... '👊🏽']
|
||||
["👊", "🏽"]
|
||||
[... '👩👩👦']
|
||||
["👩", ""👩", ""👦"]
|
||||
[... '👨👨👦👦']
|
||||
["👨", "", "👨", ""👦", ""👦"]
|
||||
```
|
||||
Reference in New Issue
Block a user