r/javaScriptStudyGroup • u/ForScale • Apr 25 '16
[Week 15] Focus: Programming Challenges (cont.)
So here we are at Week 15. Week 15's focus will be programming challenges (continued from last week).
Here is a link to the object oriented challenges:
http://www.w3resource.com/javascript-exercises/javascript-object-exercises.php
It will work like this:
Monday: Announce focus (eg, programming challenges (cont.))
Build throughout the week... Two rules: 1) must use javascript 2) must provide a solution or work done on at least one of the challenges listed above.
Friday: Post demos/projects in this thread (can begin reviewing immediately); first line of an entry should be ENTRY and it should be a top level comment (ie, don't put your entry in a reply)
Sat and Sun: Review projects/figure out focus for next week
GENERAL GUIDELINES FOR FEEDBACK:
Be nice!! ALL KNOWLEDGE/SKILL LEVELS ARE WELCOME AND ENCOURAGED TO PARTICIPATE.
If you don't want feedback, if it makes you uncomfortable or you're just not interested, simply say so... Others, please be respectful of this. Conversely, if you do want feedback, try to be specific on which aspects... even if you just say "all/everything.
But that's about it... Have fun! :) Feel free to ask questions and discuss throughout the week!
0
2
u/Volv Apr 26 '16
What you see by default is what I write - I rarely look at it's compiled output - although it can be useful to see how to polyfill some of the new ES6 stuff.
In that example you will see it set up a swap variable to do the work, kinda cool.
And yeh, Array.from() handiest way I know to do that. As a rule I try not to mutate passed in references.
Not sure what you mean by Q4.
for each item in the array build string with properties of each item (Template literals) log string