Posted a question to StackOverflow, I am soooo confused π€π€π€ https://stackoverflow.com/questions/54628657/self-skipwaiting-not-working-in-service-worker
https://stackoverflow.com/questions/12745743/automatic-semicolon-insertion-return-statements
This is a shot in the dark with little knowledge of how Javascript works, but perhaps it is something to do with automatic semicolon insertion (since the return statement does not have one inherently)?
Please sign in to leave a comment.