How to get the list of all Array standard built-in object properties and methods in JavaScript

1 Answer

0 votes
console.log(Object.getOwnPropertyNames(Array));
 


/*
run:

[
"isArray" ,
"from" ,
"of" ,
"prototype" ,
"length" ,
"name"
] 

*/

 



answered Nov 19, 2020 by avibootz
...