I have managed to avoid learning javascript all these years but it now looks like I might need it for something, so here I am with caffeine and tutorial in hand...
What I would like to know is, why are the following two structured differently...
mystring.fontcolor("red")
document.bgColor = "red"