Skip to main content

Doing More with Functions

  • Chapter
  • First Online:
JavaScript Essentials for SAP ABAP Developers
  • 1499 Accesses

Abstract

You learned how functions are created and how they perform a task every time you call and invoke them. You also saw different ways of using functions, parameters, and arguments. This chapter covers more advanced topics pertaining to functions. You will see how hoisting applies to functions, and learn why functions are called “first-class citizens.” You will also learn how to declare nested functions, how to apply closures to functions, and how to declare recursive functions.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 37.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

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Rehan Zaidi

About this chapter

Cite this chapter

Zaidi, R. (2017). Doing More with Functions. In: JavaScript Essentials for SAP ABAP Developers. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2220-1_7

Download citation

Publish with us

Policies and ethics