(GlobalContext globalContext)
| 20 | public class DynArray extends DynObject { |
| 21 | |
| 22 | public DynArray(GlobalContext globalContext) { |
| 23 | super(globalContext); |
| 24 | setClassName("Array"); |
| 25 | super.defineOwnProperty(null, "length", |
| 26 | PropertyDescriptor.newDataPropertyDescriptor(0L, true, true, true), false); |
| 27 | setPrototype(globalContext.getPrototypeFor("Array")); |
| 28 | } |
| 29 | |
| 30 | @Override |
| 31 | public boolean defineOwnProperty(ExecutionContext context, String name, PropertyDescriptor desc, boolean shouldThrow) { |
nothing calls this directly
no test coverage detected