es6.string.sub.js 180 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 'use strict'; // B.2.3.13 String.prototype.sub() require('./_string-html')('sub', function(createHTML){ return function sub(){ return createHTML(this, 'sub', '', ''); } });