top | item 13605673 dot.dom: A feature-rich JavaScript template engine in 510 byes 3 points| icharala | 9 years ago |github.com 3 comments order hn newest icharala|9 years ago I created a codepen where you can try it in action: https://codepen.io/anon/pen/Kargex?editors=0010#0 hubert123|9 years ago What is this syntax? const {clicks=0} = state; icharala|9 years ago It's object deconstructuring, including a default value: https://developer.mozilla.org/en/docs/Web/JavaScript/Referen...
icharala|9 years ago I created a codepen where you can try it in action: https://codepen.io/anon/pen/Kargex?editors=0010#0
hubert123|9 years ago What is this syntax? const {clicks=0} = state; icharala|9 years ago It's object deconstructuring, including a default value: https://developer.mozilla.org/en/docs/Web/JavaScript/Referen...
icharala|9 years ago It's object deconstructuring, including a default value: https://developer.mozilla.org/en/docs/Web/JavaScript/Referen...
icharala|9 years ago
hubert123|9 years ago
icharala|9 years ago