joewalker/gcli — comment on commit 61c3f58bb70052f52ed59ebd6b857fc8bcbb9574
File: lib/gcli/types/javascript.js line 193
By campd:

Is there a reason why the first check (for keys not on the prototype chain) might throw, but this check won't?