UNPKG

charlike

Version:

Small, fast, simple and streaming project scaffolder for myself, but not only. Supports hundreds of template engines through the @JSTransformers API or if you want custom `render` function passed through options

11 lines (8 loc) 250 B
// Implementation credits go to: // http://wiki.ecmascript.org/doku.php?id=harmony:egal 'use strict'; module.exports = function (x, y) { return (x === y) ? ((x !== 0) || ((1 / x) === (1 / y))) : ((x !== x) && (y !== y)); //jslint: ignore };