In the Node.js REPL, if you type String.prototype, an empty object: {} is returned. But if you type it in the Chrome JavaScript console, an object is returned with the expected function names and functions.
Why doesn’t Node.js exhibit this behavior? How can I access the native String functions in Node.js?
According to the IRC users on FreeNode/#node.js
So the answer is
Object.getOwnPropertyNames(String.prototype).