Documentation Prolog Predicate Reference js global/1

global/1

Get the global JavaScript object.

Description

global( ?term )

gobal(Context) is true if and only if Context is the global JavaScript object (window in browser or global in Node.js).

Implementation