Hint

  1. Use a global object like window

  2. Use Hoisting (I mentioned about it in the hoisting section)

  3. Make an Error and use error event.

  4. Fix your payload.

If you found it, tweet it and tag me.

Last updated