Few days back, one of my friends was asked this question in his JS developer interview. There are several methods & coding techniques to write JavaScript functions. The most common approach is - Method 1 function foo() { // do something } ...

Markdown supported · ⌘↵ to post
Pankaj Tanwar
satish
Learner
Hi Pankaj..
It was really insightful... Can you blog more on Advanced JS topics. TIA