diff options
Diffstat (limited to 'node_modules/core-js/library/modules/es6.string.anchor.js')
-rw-r--r-- | node_modules/core-js/library/modules/es6.string.anchor.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/node_modules/core-js/library/modules/es6.string.anchor.js b/node_modules/core-js/library/modules/es6.string.anchor.js new file mode 100644 index 000000000..65db25219 --- /dev/null +++ b/node_modules/core-js/library/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); + } +});
\ No newline at end of file |