Object drills Lesson 6.2
- Most Frequent Word -- https://jsbin.com/lejeye/edit?js,console
- Data Merge -- https://jsbin.com/xoxoxu/edit?js,console
- StackOverflow Nested Objects
- Recipe Factory -- https://jsbin.com/yiciso/edit?html,js,console,output
Questions
-
Object Dot Notation vs Bracket Notations -- A little confused on how and when to use each. Example: Setting keys and retrieving values... This seems like a legit answer
> var anObject = {}; > anObject.name = "tom"; 'tom' > var tomAge = 15; > anObject[age] = tomAge; ReferenceError: age is not defined > anObject.age = tomAge; 15 > anObject.age; 15 > anObject[age]; ReferenceError: age is not defined
-
Why do you need to be careful passing ojbect as an argument?
-
How to get better at 'reading' JS and other devleoper's code?
Questions
- Prefixing specific class on element with
'js-'
for JavaScript? Not mixing w/ css styling classes. Do a lot of developers do this?
- atom-beautify
- atom-live-server
- atom-pair
- jshint
- terminalp-plus
- emmet
- csslint