diff options
Diffstat (limited to 'node_modules/core-js/modules/es6.string.anchor.js')
| -rw-r--r-- | node_modules/core-js/modules/es6.string.anchor.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/node_modules/core-js/modules/es6.string.anchor.js b/node_modules/core-js/modules/es6.string.anchor.js new file mode 100644 index 00000000..3493e54c --- /dev/null +++ b/node_modules/core-js/modules/es6.string.anchor.js @@ -0,0 +1,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); + }; +}); |
