JSRoyaleEmitter: when inserting a synthetic second argument for parseInt() pass 0 instead of undefined

undefined can't be used as a NumericLiteralNode because it results in the compiler throwing a NumberFormatException. According to the ECMAScript spec, parseInt() treats 0, NaN, and Infinity the same as undefined, so 0 is fine. Fun fact: Technically, undefined is coerced to NaN when calling parseInt().
2 files changed