You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
David Majda 4e968892be Guard against redefinition of |undefined|
In most cases, code pattern

  x === undefined

was transformed to

  typeof(x) === "undefined"

and similarly with |!==|.

In the generated code, the condition was simply made less strict to
avoid performance penalty of string comparison (I don't think JavaScript
VMs optimize this specific pattern to avoid it).
15 years ago
..
compiler.js Guard against redefinition of |undefined| 15 years ago
metagrammar.js Guard against redefinition of |undefined| 15 years ago
metagrammar.pegjs AST refactoring 5/6: Make AST classless 15 years ago