JavaScript is a versatile scripting language primarily used to add interactivity and dynamic behavior to web pages.
== is loose equality. it Converts values to the same type before comparing them. so 5 & "5" are the same. === is strict and compares values without type conversion.
ExplanationA variable is like a container that stores data, It lets you save information (like a number, text, object, etc.) and use it later in your program
The map() method creates a new array by applying a function to each element in the original array
The filter() method creates a new array, including only the elements that pass the test implemented by the provided function
A method is a function that is a property of an object. Essentially, they are used to manipulate objects.
ExplanationA regular function is a standalone block of code that you can define and call independently.A method is a function that's attached to an object and is called using that object.
.Push() adds to the end of the array and returns the new length. .pop() removes the last item in an array and returns the new length.