1 | ;
|
2 | var $ = require('../internals/export');
|
3 | var createHTML = require('../internals/create-html');
|
4 | var forcedStringHTMLMethod = require('../internals/forced-string-html-method');
|
5 |
|
6 | // `String.prototype.fixed` method
|
7 | // https://tc39.github.io/ecma262/#sec-string.prototype.fixed
|
8 | $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fixed') }, {
|
9 | fixed: function fixed() {
|
10 | return createHTML(this, 'tt', '', '');
|
11 | }
|
12 | });
|