can you explain me 3. How its undefined ?
Shripad Somayaji

Please refer this URL

Javascript automatically inserts semicolon at the end of return statement, hence it will return the undefined value. however below code will return proper response object.

a : 0
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.