You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This predicate function seems like it would be useful.
privatestaticbooleanisBaseObject(Scriptables) {
// A direct instance of Object is the only Object whose prototype's// prototype is null.Scriptableproto = s.getPrototype();
returnproto != null && proto.getPrototype() == null;
}
This predicate function seems like it would be useful.
Refs: http://cajadores.com/docs/java/com/google/caja/util/RhinoAsserts.html#isBaseObject(org.mozilla.javascript.Scriptable)
The text was updated successfully, but these errors were encountered: