What's Next

You now know how to write functions, use parameters to simplify your JavaScript, and use the return statement to pass data. In the next chapter, you get more practice with functions when you move on to looking at an area of JavaScript that beginners are normally daunted by—objects!

See you there!

Get JavaScript™ 1.5 by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.