Answers for "Scratch Addon userscript"

0

Scratch Addon userscript

export default async function ({ addon, global, console }) {
  // This WON'T work!
  sayHello();
}
function sayHello() {
  console.log("Hello, " + addon.auth.username);
  // Error: addon is not defined!
}
Posted by: Guest on April-17-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language