Skip to content

Instantly share code, notes, and snippets.

@bryantee
Last active September 17, 2016 21:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bryantee/a69212d99c9c102f63ad8e964c6ce5b6 to your computer and use it in GitHub Desktop.
Save bryantee/a69212d99c9c102f63ad8e964c6ce5b6 to your computer and use it in GitHub Desktop.

Thinkful.com Bootcamp

Friday 9-16 -- Mario and Bryan

Objects

Object drills Lesson 6.2

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?


jQuery

Questions

  • Prefixing specific class on element with 'js-' for JavaScript? Not mixing w/ css styling classes. Do a lot of developers do this?

Mario Atom Packages

  • atom-beautify
  • atom-live-server
  • atom-pair
  • jshint
  • terminalp-plus
  • emmet
  • csslint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment