Creating dictionaries in JavaScript using arrays and objects

preview_player
Показать описание
In this video I demonstrate how you can create a simple dictionary-like structure for looking up information first using an array, and then with an object.

Note: I realise it's debatable whether all these abbreviations (e.g., imho = In My Humble Opinion) are actual acronyms or just initialisms, but we're going with it for this example. Also, "acronym" is shorter (i.e., less typing) than "initialism" or "abbreviation".
Рекомендации по теме
join shbcf.ru