diff options
Diffstat (limited to 'node_modules/core-js/modules/es.string.bold.js')
| -rw-r--r-- | node_modules/core-js/modules/es.string.bold.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/node_modules/core-js/modules/es.string.bold.js b/node_modules/core-js/modules/es.string.bold.js new file mode 100644 index 0000000..ea8c48c --- /dev/null +++ b/node_modules/core-js/modules/es.string.bold.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); +var createHTML = require('../internals/create-html'); +var forcedStringHTMLMethod = require('../internals/string-html-forced'); + +// `String.prototype.bold` method +// https://tc39.github.io/ecma262/#sec-string.prototype.bold +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('bold') }, { + bold: function bold() { + return createHTML(this, 'b', '', ''); + } +}); |
