hexo/node_modules/core-js/library/modules/es6.string.link.js

8 lines
197 B
JavaScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
'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);
};
});