I've been confused lately about productions in ecma262 spec.
There are productions based on my assumption that can be other productions.
for example, Statement
Statement can be a Block it can also be an IfStatement.
my confusion begins with algorithms that looks like that
a. Let stmtCompletion be the result of evaluating the first Statement.
evaluating Statement? What does it mean?
if a Statement, for example, is an IfStatement will it go to the 14.6 The if Statement 14.6.2 Runtime Semantics: Evaluation ?
I'm mostly confused because there are productions that have their RS: Evaluation like IfStatement and some don't have the RS: Evaluation like Statement,Declaration, etc...