Array methods are functions built-in to JavaScript that we can apply to Arrays. some of the must know Array methods bellow. Array Filter() This method creates a new array with…
Category:
JavaScript
Scope of var var declarations are globally scoped or function/locally scoped. It is globally scoped when a var variable is declared outside a function. for example “myText” variable declare outside scope will…