MENU

Fun & Interesting

What do JS functions really return? And why?

Steve Griffith - Prof3ssorSt3v3 17,858 lượt xem 5 years ago
Video Not Working? Fix It Now

This video examines the concepts of Immediately Invoked Function Expressions, return statements, what happens to functions without return statements, how to return a function from a function, and situations where your function has multiple return statements.

Code GIST: https://gist.github.com/prof3ssorSt3v3/41af2c5298bc7ab010a2a29bc4cc83df

Comment