The Array.isArray() method returns truthful if an object is an array, simulated if it is not. It volition banking concern gibe the specified value is array or not, if it is array supply
true value as well as if non supply
false.
Syntax Array.isArray(variable or value);
Example var ar=[10,20,30]; alert(Array.isArray(ar));
Example Program:- (Editor)
Editor is Loading...
Output:-
Advertisement
Tidak ada komentar:
Posting Komentar