MCPcopy Create free account
hub / github.com/mozilla/rhino / js_has

Method js_has

rhino/src/main/java/org/mozilla/javascript/NativeMap.java:160–163  ·  view source on GitHub ↗
(
            Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args)

Source from the content-addressed store, hash-verified

158 }
159
160 private static Object js_has(
161 Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args) {
162 return realThis(thisObj, "has").js_has(key(args));
163 }
164
165 private Object js_has(Object arg) {
166 return entries.has(arg);

Callers

nothing calls this directly

Calls 3

realThisMethod · 0.95
keyMethod · 0.95
hasMethod · 0.65

Tested by

no test coverage detected