Skip to content Skip to sidebar Skip to footer
Showing posts with the label Syntax

Why Is Reassigning Object.prototype Not Working?

Why this is not working? // this one works as I expected, when objSayHello() Object.prototype.objSa… Read more Why Is Reassigning Object.prototype Not Working?

Why Does Adding Parentheses Prevent An Error?

Why is it when I write {}.key = 0 in the chrome console I get an error: > {}.key = 0 > Uncaug… Read more Why Does Adding Parentheses Prevent An Error?

Is It Possible To Programatically Catch Javascript Syntaxerrors?

I don't think that this is doable, but wanted to throw it out to the community to confirm my su… Read more Is It Possible To Programatically Catch Javascript Syntaxerrors?

What Determines If A Javascript Function Is A Named Anonymous Function Versus A, Um, Regular Function?

Reading 'A re-introduction to JavaScript' I noticed something interesting about functions: … Read more What Determines If A Javascript Function Is A Named Anonymous Function Versus A, Um, Regular Function?

Can Someone Walk Me Through This Line

var types = { 'Grocery': 'gro', 'Restaurant': 'res', 'Bar… Read more Can Someone Walk Me Through This Line

Javascript Syntax Error Unexpected Token Illegal

function queue_instructions(){ var input_message = 'Commands w? Shows whos on the … Read more Javascript Syntax Error Unexpected Token Illegal