WIKI:
In computer programming, a statement is the smallest standalone element of an imperative programming language that expresses some action to be carried out. It is an instruction written in a high-level language that commands the computer to perform a specified action.
W3C
Semicolons separate JavaScript statements. Add a semicolon at the end of each executable statement
pretty much resumes what i thought, but i would love to share some thoughts with you guys on these situations.
case 1:
var MyPromise = GetPromise(); //first statement
MyPromise.then(function(){
}); //second statement
case 2:
GetPromise()
.then(function(){
}); //first statement
Wiki source claims to consider high level languages when talking about statements (as reported)
It is an instruction written in a high-level language..
actually i don't know how trustable the source is but if i consider the high level javascript code (not the machine code generated by the interpreter) should there be any reason to choose one in place of the other (rather then readability)?