Documentation Prolog Predicate Reference js new/3

new/3

Create an instance of a JavaScript object.

Description

new( +JSValueObject, +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