MCPcopy Create free account
hub / github.com/apache/pig / jsNewObject

Method jsNewObject

src/org/apache/pig/scripting/js/JsScriptEngine.java:182–184  ·  view source on GitHub ↗

creates a new JavaScript object @return an empty object

()

Source from the content-addressed store, hash-verified

180 * @return an empty object
181 */
182 public Scriptable jsNewObject() {
183 return getContext().newObject(scope);
184 }
185
186 /**
187 * creates a new javascript array

Callers 3

execMethod · 0.80
pigTupleToJSMethod · 0.80
pigMapToJSMethod · 0.80

Calls 1

getContextMethod · 0.95

Tested by

no test coverage detected