Remove typeof-related hack in getValueFromScope
Remove typeof-related hack in getValueFromScope

Instead, do things the way the spec says (more or less).  Bonus: probably marginally faster.

google/CodeCity,google/CodeCity,NeilFraser/CodeCity,google/CodeCity,google/CodeCity,NeilFraser/CodeCity,NeilFraser/CodeCity,NeilFraser/CodeCity