v8 - Javascript global objects included in d8.exe -


i know v8 include subset of javascript global objects commonly use in browsers, global objects console/window/document not available in d8.exe. functions settimeout not available (in fact, can't find way replace function).

i can if ("console" in this) { ... } check if console object available or not, not elegant in opinion. there list specified included , not? or better, list of workarounds?

v8, , d8, implements of libraries defined in ecmascript language specification (ecma 262) , ecmascript internationalization api specification (ecma 402). in addition, d8 implements couple of ad-hoc i/o functions intended v8's test suite, , should rather not relied upon.


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -