JavaScript arrays are used to store multiple values in a single variable. An array in JavaScript can hold different elements We can store Numbers, Strings and Boolean in a single array. Also arrays in JavaScript are dynamic in nature, which means its size can increase or decrease at run time.
For Program code, info & more resources checkout this article - https://simplesnippets.tech/scope-of-variables-in-javascript/
Strict mode of browser - https://www.w3schools.com/js/js_strict.asp
Video by - Tanmay Sakpal
Simple Snippets Channel link - https://www.youtube.com/simplesnippets
Continue this lesson in the app
Install CourseHive on Android or iOS to keep learning while you move.