source: trip-planner-front/node_modules/core-js/modules/es.string.sub.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 422 bytes
Line 
1'use strict';
2var $ = require('../internals/export');
3var createHTML = require('../internals/create-html');
4var forcedStringHTMLMethod = require('../internals/string-html-forced');
5
6// `String.prototype.sub` method
7// https://tc39.es/ecma262/#sec-string.prototype.sub
8$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sub') }, {
9 sub: function sub() {
10 return createHTML(this, 'sub', '', '');
11 }
12});
Note: See TracBrowser for help on using the repository browser.