Skip to content

Commit

Permalink
Merge pull request #14118 from emberjs/fix-is-object-deopt
Browse files Browse the repository at this point in the history
Fix isObject deopt
  • Loading branch information
chancancode authored Aug 23, 2016
2 parents 664172b + f1971a8 commit ec80bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ember-metal/lib/chains.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function firstKey(path) {
}

function isObject(obj) {
return obj && (typeof obj === 'object');
return typeof obj === 'object' && obj;
}

function isVolatile(obj) {
Expand Down

0 comments on commit ec80bbf

Please sign in to comment.