Hello Friends 👋,
Welcome To Infinitbility! ❤️
when we pass on an array, it will return the first element like this
Let understand with an example.
var ary = ['first', 'second', 'third', 'fourth', 'fifth']; alert(ary); // first
Thanks for reading…