Skip to content

Commit

Permalink
lost hasProperty change, will rebase again
Browse files Browse the repository at this point in the history
  • Loading branch information
tmallery committed Nov 25, 2017
1 parent 6bb9605 commit b64825e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/mozilla/javascript/ScriptRuntime.java
Original file line number Diff line number Diff line change
Expand Up @@ -2705,7 +2705,7 @@ private static boolean isArrayLike(Scriptable obj)
return obj != null && (
obj instanceof NativeArray ||
obj instanceof Arguments ||
ScriptableObject.getProperty(obj, "length") != Scriptable.NOT_FOUND
ScriptableObject.hasProperty(obj, "length")
);
}

Expand Down

0 comments on commit b64825e

Please sign in to comment.