Javascript

Debug / Development tricks

You can set a global variable

  globalThis.yourVariable = yourVariable;

and then access it in the JS console.