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