Documentation Prolog Predicate Reference js new/3

new/3

Create an instance of a JavaScript object.

Description

new( +jsvalue, +list, -term )

new(Object, Args, Value) is true if Value unifies with the result of creating a new instance of the JavaScript object Object with arguments Args.

Implementation