You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
421 B
JavaScript
14 lines
421 B
JavaScript
(function (phantom) {
|
|
console.log('bind:', typeof Function.prototype.bind);
|
|
console.log('9 === parseInt("09"):', 9 === parseInt('09'));
|
|
|
|
console.log('map:', typeof Array.prototype.map);
|
|
console.log('reduce:', typeof Array.prototype.reduce);
|
|
console.log('filter:', typeof Array.prototype.filter);
|
|
console.log('Object.create:', typeof Object.create);
|
|
|
|
if (phantom) {
|
|
phantom.exit();
|
|
}
|
|
}(this.phantom));
|