delete_file// keepFile has the Boolean value "true". (! means negate). Useful for binary options.letstring1="";// One (good) way to initialise a string to an empty value.letstring2=null;// Another way. Be careful, null has tricky properties, see later.letstring3;// Both this .....
I don’t want this attempt to be like all the others. I know that I need to immerse myself in JavaScript but I don’t want sink into the quicksand of the JS world only to suffocate myself. So I decided to review the JavaScript learning landscape and pick out a few resources—but n...
Debuggers for many other programming languages have a “watch” concept that can break into the debugger when a variable changes. Neither Dragonfly nor Firebug currently support “watch” but it’s easy to get the same effect by adding the following line of debugging code at the top of the ...