phantomJS requires "use strict" for polyfill to properly work
This commit is contained in:
parent
5bb258cd8f
commit
60339e044b
|
@ -1,4 +1,7 @@
|
|||
/* eslint-disable no-extend-native, func-names, space-before-function-paren, semi, space-infix-ops, max-len */
|
||||
/* eslint-disable no-extend-native, func-names, space-before-function-paren, semi, space-infix-ops, strict, max-len */
|
||||
|
||||
'use strict';
|
||||
|
||||
Array.prototype.first = function() {
|
||||
return this[0];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue