phantomJS requires "use strict" for polyfill to properly work

This commit is contained in:
Mike Greiling 2017-01-13 11:05:09 -05:00
parent 5bb258cd8f
commit 60339e044b
1 changed files with 4 additions and 1 deletions

View File

@ -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];
}