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.
15 lines
438 B
Markdown
15 lines
438 B
Markdown
# JavaScript Runtime
|
|
|
|
```javascript
|
|
var phantom = this.phantom || {exit: function () {}};
|
|
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);
|
|
|
|
phantom.exit();
|
|
```
|