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

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?

Javascript Variables, What Does Var X = A = {} Do?

I see in jQuery something like this: jQuery.fn = jQuery.prototype = {} Why is this being done? Isn… Read more Javascript Variables, What Does Var X = A = {} Do?

Interesting Error Based On Automatic Semicolon Insertion Js Rules. Explanation Required

Today I wrote code for some programming contest. When I run it I was surprised because of error. Ca… Read more Interesting Error Based On Automatic Semicolon Insertion Js Rules. Explanation Required

Problems With Jade, Unexpected Character #

I keep getting: .../views/index.jade:20 18| alert(error) 19| }) > 20| server.on('warning'… Read more Problems With Jade, Unexpected Character #

How To Get Rid Of Editor’s Error For Object.key

I have the following code that basically gets some JSON data, looks for the keys with 'serverge… Read more How To Get Rid Of Editor’s Error For Object.key

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