0
What other built-in propreties that Array has except Length ?
I'm looking for any optional built-in propreties we could use on Array !
2 Respostas
+ 5
There are many methods related to array like
pop() to remove element from array as
array.pop(array_element); if array_element is nor given it pop out last element.
push() same as pop but use to insert data in array
tostring() is use to change array to string.
tojoin() is use to join array elements
slice() use to cut array from an index
sort() use to short array element by alphabetical order.
and many many more methods are there. You can learn more from
http://www.w3schools.com/js/js_array_methods.asp
0
Thank you man (y)