The function stops its execution when it encounters?
(a) continue statement
(b) break statement
(c) goto statement
(d) return statement
I had been asked this question in a job interview.
This is a very interesting question from Defining and Invoking Functions topic in chapter Lexical Structures of JavaScript