123456789101112 |
- 'use strict';
- var $ = require('../internals/export');
- var createHTML = require('../internals/create-html');
- var forcedStringHTMLMethod = require('../internals/string-html-forced');
- $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('link') }, {
- link: function link(url) {
- return createHTML(this, 'a', 'href', url);
- }
- });
|