Skip to main content
  • 720 Accesses

Abstract

One of JavaScript’s best features is the language’s implementation of functions. Whereas other languages present different function types for different purposes, JavaScript only has one function type that covers all use cases—from subroutines to lambdas to object methods.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Mark Joseph A. Obcena

About this chapter

Cite this chapter

Obcena, M.J. (2010). Functions. In: Pro JavaScript with MooTools. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-3055-7_2

Download citation

Publish with us

Policies and ethics