HWZT chapter 6 (JS Variables):
A few things have changed since How To Write a Zotero Translator was written. To use its first Scaffold example as an example:
http://niche-canada.org/member-projects/zotero-guide/
Click on the "Detect Code" tab
, click on tab=Code. As directed, in that tab enter the expressions
var myVariable=4; Zotero.debug(myVariable);
12:00:00 ===>4<===(number)
12:00:00 detectWeb returned type "undefined"
, you will need to also click on icon=“Run detectWeb” (the eye next to the thunderbolt).
The subsequent examples behave similarly.