Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 20.3 KB

Standard_Javascript_API.md

File metadata and controls

44 lines (29 loc) · 20.3 KB

Standard Javascript API (for reference)

Operators

this, function, new, void, delete, typeof, in, instanceof

Statements

break, continue, debugger, do...while, for, for...in, function, if...else, return, switch, throw, try...catch, var, while

Array

.length, isArray(), .concat(), .every(), .filter(), .forEach(), .indexOf(), .join(), .lastIndexOf(), .map(), .pop(), .push(), .reduce(), .reduceRight(), .reverse(), .shift(), .slice(), .some(), .splice(), .toString(), .unshift()

Date

Date.UTC(), Date.now(), Date.parse(), .getDate(), .getDay(), .getFullYear(), .getHours(), .getMilliseconds(), .getMinutes(), .getMonth(), .getSeconds(), .getTime(), .getTimezoneOffset(), .getUTCDate(), .getUTCDay(), .getUTCFullYear(), .getUTCHours(), .getUTCMilliseconds(), .getUTCMinutes(), .getUTCMonth(), .getUTCSeconds(), .setDate(), .setFullYear(), .setHours(), .setMilliseconds(), .setMinutes(), .setMonth(), .setSeconds(), .setTime(), .setUTCDate(), .setUTCFullYear(), .setUTCHours(), .setUTCMilliseconds(), .setUTCMinutes(), .toDateString(), .toISOString(), .toJSON(), .toString(), .toTimeString(), .toUTCString(), .valueOf()

RegExp

.lastIndex, .global, .ignoreCase, .source, .exec(), .test(), .toString()

Error

.message, .name, .toString()

Function

.length, .apply(), .bind(), .call(), .toString()

Arguments

.length

Global

decodeURI(), decodeURIComponent(), encodeURI(), encodeURIComponent(), eval(), Infinity, isFinite(), NaN, isNaN(), parseFloat(), parseInt(), null, undefined

JSON

JSON.parse(), JSON.stringify()

Math

Math.E, Math.LN10, Math.LN2, Math.LOG10E, Math.LOG2E, Math.PI, Math.SQRT1_2, Math.SQRT2, Math.abs(), Math.acos(), Math.asin(), Math.atan(), Math.atan2(), Math.ceil(), Math.cos(), Math.exp(), Math.floor(), Math.log(), Math.max(), Math.min(), Math.pow(), Math.random(), Math.round(), Math.sin(), Math.sqrt(), Math.tan()

Number

Number.MAX_VALUE, Number.MIN_VALUE, Number.NEGATIVE_INFINITY, Number.NaN, Number.POSITIVE_INFINITY, .toExponential(), .toPrecision(), .toString(), .valueOf()

Object

.prototype, .prototype.constructor, .prototype.hasOwnProperty(), .prototype.propertyIsEnumerable(), .prototype.toString(), .prototype.valueOf(), .create(), .defineProperties(), .defineProperty(), .freeze(), .getOwnPropertyDescriptor(), .getOwnPropertyNames(), .getPrototypeOf(), .isExtensible(), .isFrozen(), .isSealed(), .keys(), .preventExtensions(), .seal()

String

.length, .fromCharCode(), .charAt(), .charCodeAt(), .concat(), .indexOf(), .lastIndexOf(), .match(), .replace(), .search(), .slice(), .split(), .substring(), .toLowerCase(), .toString(), .toUpperCase(), .trim(), .valueOf()