mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 00:27:50 +00:00
Ensure _.curry test runs with strict builds.
Former-commit-id: 7bb7d8bdb88b49ec1b35fbf9933f43e2fcd61a53
This commit is contained in:
@@ -695,7 +695,8 @@
|
||||
|
||||
test('should not alter the `this` binding', function() {
|
||||
function func(a, b, c) {
|
||||
return this[a] + this[b] + this[c];
|
||||
var value = this || {};
|
||||
return value[a] + value[b] + value[c];
|
||||
}
|
||||
|
||||
var object = { 'a': 1, 'b': 2, 'c': 3 };
|
||||
|
||||
Reference in New Issue
Block a user