I have a simple question. Imagine I have the following code:
xmlHttp.open("POST", uri, !0),
xmlHttp.setRequestHeader("Content-Type", "application/json;charset=UTF-8"),
xmlHttp.send(JSON.stringify(data))
These are comma separated instructions.
What is the biggest difference between using ;
instead of ,
? Is it just to make sure all instructions are ran even if one of them gives an error or something?