REPL returns empty object on enumerating properties on a simple JavaScript type

REPL returns empty object on enumerating properties on a simple JavaScript type (Number, String, Logical).

We should not to do that.

Issue:
https://github.com/ariya/phantomjs/issues/11622