adds a couple of ES6 related questions (partly addresses #421) (#440)

This commit is contained in:
Pavel Ermolin 2018-01-18 18:29:52 +00:00 committed by Rob Larsen
parent 9da03fd6c3
commit 436636600c
1 changed files with 3 additions and 0 deletions

View File

@ -159,6 +159,9 @@ duplicate([1,2,3,4,5]); // [1,2,3,4,5,1,2,3,4,5]
* Can you give an example for destructuring an object or an array?
* ES6 Template Literals offer a lot of flexibility in generating strings, can you give an example?
* Can you give an example of a curry function and why this syntax offers an advantage?
* What are the benefits of using `spread syntax` and how is it different from `rest syntax`?
* How can you share code between files?
* Why you might want to create static class members?
#### Testing Questions: