...

View Full Version : var test = "abc" vs var test = ("abc")



otnj2ee
01-26-2009, 08:59 PM
What is the difference between the

var test = "abc";

var test = ("abc");


Thanks

Scott

freedom_razor
01-26-2009, 09:07 PM
There's no difference, in both cases it is gonna be ABC. You can use () to change order of operations on variables:
x=2*3+2 - here x=8
but in
x=2*(3+2) x=10



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum