Plan and done for July-16-2017
What will I learn today?
Dive into JS.
Done
I'm stuck with both challenges on HR - roads and ladder failed performance test and roads failed functional tests. It's very exhaustive to run through the code again and again without success especially in time shortage conditions. Switched to another coding activity - returned to freeCodeCamp curriculum to practice easy steps, to make them smoother. After it I'll plan to be back and crack these nuts.
I've practiced:
- the easiest way to compare arrays is to
JSON.stringifythem, but it's bad for performamce. Better way described here - https://stackoverflow.com/a/14853974. - the way to put variable inside regExp is to initialize it as a regExp object
new RegExp('someText' + variable)- https://stackoverflow.com/a/4029123.