MCPcopy Create free account
hub / github.com/dynjs/dynjs / length

Method length

src/main/java/org/dynjs/runtime/DynArray.java:113–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111 }
112
113 public long length() {
114 return Types.toInt32(null, this.get(null, "length"));
115 }
116
117 protected boolean isArrayIndex(ExecutionContext context, String name) {
118 return name.equals(Types.toUint32(context, name).toString());

Callers 15

coerceToObjectMethod · 0.95
coerceToBooleanMethod · 0.95
coerceToByteMethod · 0.95
coerceToCharMethod · 0.95
coerceToDoubleMethod · 0.95
coerceToFloatMethod · 0.95
coerceToIntMethod · 0.95
coerceToLongMethod · 0.95
coerceToShortMethod · 0.95
testBasicsMethod · 0.80
newTokenMethod · 0.80

Calls 2

toInt32Method · 0.95
getMethod · 0.65

Tested by 1

testBasicsMethod · 0.64