You might want to compile a script without the harmony flag, and it'll parse error js-side if you forget to enable it.
Anyway, I'm really against checking flags from nodes