Files
rust_browser/tests/external/js262/expected/delete-operator.txt
Zachary D. Rowitsch 13b610be03
All checks were successful
ci / fast (linux) (push) Successful in 6m27s
Add JavaScript delete, void, and in operators
Implement three missing JS operators that together unblock 57 Test262
full-suite tests (pass rate 42% → 44%):

- delete: reference-aware unary operator that removes object properties,
  with special handling for member/computed/identifier expressions
- void: unary operator that evaluates operand and returns undefined
- in: binary operator that checks property existence via prototype chain,
  gated by allow_in flag to disambiguate from for-in loops

The allow_in mechanism (with_no_in helper) prevents the parser from
consuming `in` as a binary operator inside for-loop initializers, which
would break for-in/for-of parsing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 22:56:14 -05:00

10 lines
56 B
Plaintext

true
undefined
2
true
undefined
false
true
99
undefined