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