diff --git a/lodash/lodash-tests.ts b/lodash/lodash-tests.ts index 9c65cb832..da47cbf46 100644 --- a/lodash/lodash-tests.ts +++ b/lodash/lodash-tests.ts @@ -562,28 +562,30 @@ result = _.findLastKey({ 'a': 1, 'b': 2, 'c': 3, 'd': 4 }, function(num) return num % 2 == 1; }); -_.forIn(new Dog('Dagny'), function(value, key) { +result = _.forIn(new Dog('Dagny'), function(value, key) { console.log(key); }); -_.forInRight(new Dog('Dagny'), function(value, key) { +result = _.forInRight(new Dog('Dagny'), function(value, key) { console.log(key); }); -_.forOwn({ '0': 'zero', '1': 'one', 'length': 2 }, function(num, key) { +result = _.forOwn({ '0': 'zero', '1': 'one', 'length': 2 }, function(num, key) { console.log(key); }); -_.forOwnRight({ '0': 'zero', '1': 'one', 'length': 2 }, function(num, key) { +result = _.forOwnRight({ '0': 'zero', '1': 'one', 'length': 2 }, function(num, key) { console.log(key); }); -_.functions(_); - _.methods(_); +result = _.functions(_); + result = _.methods(_); + +result = _.has({ 'a': 1, 'b': 2, 'c': 3 }, 'b'); + +result = _.invert({ 'first': 'moe', 'second': 'larry' }); -_.has({ 'a': 1, 'b': 2, 'c': 3 }, 'b'); -_.invert({ 'first': 'moe', 'second': 'larry' }); var mergeNames = { 'stooges': [