Using Objects for Lookups:


Using Objects for Lookups: Objects can be thought of as a key/value storage, like a dictionary. If you have tabular data, you can use an object to lookup valu…
Read more »

Updating Object Properties


Updating Object Properties: After you've created a JavaScript object, you can update its properties at any time just like you would update any other varia…
Read more »

Build JavaScript Objects


Build JavaScript Objects: You may have heard the term object before. Objects are similar to arrays, except that instead of using indexes to access and modify …
Read more »

Replacing If Else Chains with Switch:


Replacing If Else Chains with Switch: If you have many options to choose from, a switch statement can be easier to write than many chained if/else if statemen…
Read more »