mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 15:27:50 +00:00
Use a better strict mode detect for tests.js so older versions of Node.js pass.
Former-commit-id: fd9f6ea35c71a8183ce0dcf4a6ec6e6afe13c39e
This commit is contained in:
@@ -1706,7 +1706,7 @@
|
||||
var thisArg,
|
||||
array = ['a'],
|
||||
callback = function() { thisArg = this; },
|
||||
useStrict = Function('"use strict";return this')() === undefined;
|
||||
useStrict = (function() { return this; }).call(null) === null;
|
||||
|
||||
var funcs = [
|
||||
'countBy',
|
||||
|
||||
Reference in New Issue
Block a user