List<JSValue> toList(JSContext context, int count) => List<JSValue>.generate(count, (index) => JSValue(context, this[index]));