Jump to content

Introspection: Difference between revisions

(Add Jsish)
Line 921:
}
 
/* Check for "abs()" as function and "bloop" as defined value, call if both check true */
if ((bloop != undefined) && (typeof Math.abs == 'function')) {
puts(Math.abs(bloop));
}
 
/* ECMAScript, this will sum all numeric values, not just strict integers */
var nums = 0, sums = 0, v;
for (v of Info.vars(this)) {
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.