+ 3
the functions wrapped with parenthesis are called âImmediately Invoked Function Expressions" or "Self Executing Functions.
+ 1
It is inside and also outside.
It started outside curly brace so should close outside curly brace.
it just added a function in ( here ); which aplied to every num element...