/node_modules/babel-polyfill/node_modules/core-js/library/modules/es6.string.anchor.js

https://bitbucket.org/worklabschd/bingle_customer2 · JavaScript · 7 lines · 6 code · 0 blank · 1 comment · 0 complexity · c66dc51691844d53cca3791346d10cfd MD5 · raw file

  1. 'use strict';
  2. // B.2.3.2 String.prototype.anchor(name)
  3. require('./_string-html')('anchor', function (createHTML) {
  4. return function anchor(name) {
  5. return createHTML(this, 'a', 'name', name);
  6. };
  7. });