UNPKG

remedial

Version:

Deprecated. Utilities for ES3, most of which have been adopted or superseded in ES5.1. Adapted from Douglas Crockford's Remedial JavaScript

21 lines (18 loc) 489 B
(function () { require('../lib/remedial'); if ('undefined' === typeof isEmpty) { console.log('isEmpty fail'); } if ('undefined' === typeof typeOf) { console.log('typeOf fail'); } if ('undefined' === typeof String.prototype.entityify) { console.log('entityify fail'); } if ('undefined' === typeof String.prototype.quote) { console.log('quote fail'); } if ('undefined' === typeof String.prototype.supplant) { console.log('supplant fail'); } }());