File tree 1 file changed +0
-3
lines changed
1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change 5
5
if ( String . prototype . repeat === undefined ) {
6
6
// tslint:disable-next-line:space-before-function-paren
7
7
String . prototype . repeat = function ( count ) : string {
8
- 'use strict' ;
9
8
if ( this === null ) {
10
9
throw new TypeError ( 'can\'t convert ' + this + ' to object' ) ;
11
10
}
@@ -51,7 +50,6 @@ if (String.prototype.startsWith === undefined) {
51
50
} ;
52
51
}
53
52
54
-
55
53
/**
56
54
* IE11 polyfill for string.endsWith function, from
57
55
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith
@@ -73,7 +71,6 @@ if (String.prototype.endsWith === undefined) {
73
71
if ( String . prototype . includes === undefined ) {
74
72
// tslint:disable-next-line: space-before-function-paren
75
73
String . prototype . includes = function ( search , start ) : boolean {
76
- 'use strict' ;
77
74
if ( typeof start !== 'number' ) {
78
75
start = 0 ;
79
76
}
You can’t perform that action at this time.
0 commit comments