If you install v8 and try it out on the command line, you'll notice a lack of console.log (same for d8). The only related function I found available was print, so I made a fake console.log. Since I'm on V8 version 4.8.271.17, the spread operator is available.
function log() {
print(...arguments)
}That's clearly missing nuance, though it was fun.