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