Your code works, I just missed two things. You have to make sure that the type field of the tiddler is set to application/javascript and you need to add a field called module-type with the value macro.
Also you have to save and reload your wiki for the javascript macro to be available. It is a safety thing for tiddlywiki. And yes, in most browsers there is a javascript console you can use. In Firefox it is in the Tools menu -> Web Developer -> Web Console In safari you have to have developer tools enabled then it is 'Show Javascript Console' in the Develop menu. I don't know how to access it in chrome or edge. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f2070940-351a-464c-b7e7-356dc2cc6a0d%40googlegroups.com.

