1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-05 16:18:01 +00:00

Add draft of a new til

This commit is contained in:
jbranchaud
2016-08-27 09:52:53 -05:00
parent 106be8ef1e
commit a2ec1628a8
2 changed files with 14 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ variety of languages and technologies. These are things that don't really
warrant a full blog post. These are mostly things I learn by pairing with
smart people at [Hashrocket](http://hashrocket.com/).
_460 TILs and counting..._
_461 TILs and counting..._
---
@@ -158,6 +158,7 @@ _460 TILs and counting..._
- [Computed Property Names In ES6](javascript/computed-property-names-in-es6.md)
- [Create An Array Containing 1 To N](javascript/create-an-array-containing-1-to-n.md)
- [Enable ES7 Transforms With react-rails](javascript/enable-es7-transforms-with-react-rails.md)
- [Expand Emojis With The Spread Operator](javascript/expand-emojis-with-the-spread-operator.md)
- [Immutable Remove With The Spread Operator](javascript/immutable-remove-with-the-spread-operator.md)
- [Numbers Are Empty](javascript/numbers-are-empty.md)
- [Object Initialization With Shorthand Property Names](javascript/object-initialization-with-shorthand-property-names.md)

View File

@@ -0,0 +1,12 @@
# Expand Emojis With The Spread Operator
```javascript
[... '🔥']
["🔥"]
[... '👊🏽']
["👊", "🏽"]
[... '👩👩👦']
["👩", ""👩", ""👦"]
[... '👨👨👦👦']
["👨", "", "👨", ""👦", ""👦"]
```