Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

console.log object functions js

console.log(Object.getOwnPropertyNames(Math).filter(function (p) {
    return typeof Math[p] === 'function';
}));
//-> ["random", "abs", "acos", "asin", "atan", "ceil", "cos", "exp", ...etc ]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #object #functions #js
ADD COMMENT
Topic
Name
5+9 =