hexo/node_modules/core-js/modules/es6.string.anchor.js

8 lines
212 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
'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);
};
});