Hacker News new | past | comments | ask | show | jobs | submit login

Thanks. I'll change

  pj.transformations.special.Call_print
to have the emitted code check if you've defined a print function, using console.log only if you haven't.

  ((typeof print !== "undefined" && print !== null) || console.log)(...)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: