Host system implementors may find it easier to extend the ScriptableObject class rather than implementing Scriptable when writing host objects.
There are many static methods defined in ScriptableObject that perform the multiple calls to the Scriptable interface needed in order to manipulate properties in prototype chains.
@see net.sourceforge.htmlunit.corejs.javascript.ScriptableObject @author Norris Boyd @author Nick Thompson @author Brendan Eich
|
|
|
|