You are reading a single comment by @Robin and its replies. Click here to read the full conversation.
  • Thr 2021.03.25

    While not tested, it appears to be a Javascript rules violation, L6 function defined within a separate defined function.


    EDIT Thr 2021.04.01
    While unsuccessful at finding a specification reference, my comment above is true while in strict mode, and it is strongly suggested Not to create an inner function declaration.

    https://developer.mozilla.org/en-US/docsĀ­/Web/JavaScript/Reference/Functions

    see heading 'Block-level functions in non-strict code' 'In a word: Don't.'

About

Avatar for Robin @Robin started