You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Yes, unfortunately Espruino doesn't do Function Hoisting.

    Due to the way Espruino executes code it parses as
    it executes. Function Hoisting wasn't implemented as it would require
    two passes, which would drastically slow down execution.

About

Avatar for Gordon @Gordon started