Just opened a client's javascript file and the first lines are along the lines of this:
{
var s_account="blog";
}
Which I don't get. Normally, in my experience, curly braces wrap around a function...
function welcome(){ ...
...or a json JavaScript object
var attributes = { this : "that...
Can anyone tell me why there are curly braces with no text before them or after them? What does it do / what is the point of it?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…