An ES5 mostly-spec-compliant `Object.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible
published 2.0.0 3 years agoGiven two valid integers in string form, return the smaller of the two.
published 1.0.1 10 years agoRead from and write to a JSON file, minimizing diffs and preserving formatting.
published 3.3.1 6 years agoIs this an arguments object? It's a harder question than you think.
published 1.1.1 3 years agoES6 spec-compliant RegExp.prototype.flags shim.
published 1.5.2 3 months agoReturns an arbitrary generator function, or undefined if generator syntax is unsupported.
published 2.0.0 4 years agoFunction that returns an arbitrary arrow function, or undefined if arrow function syntax is unsupported.
published 1.2.0 4 years agoAn Object.keys replacement, in case Object.keys is not available. From https://github.com/es-shims/es5-shim
published 1.1.1 5 years agoDefine multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.
published 1.2.1 8 months ago