Sign in Go Pro

Beginning JavaScript for React Native

Functions

 

Up next

Previous

About

Functions in JavaScripts are actually objects - and they can be defined and set to variables, and passed around like any other variable.

This idea that functions are just objects is very powerful - and defines how many JavaScript programs are written.

React Native applications tend to take heavy advantage of the powerful nature of functions in JavaScript by defining them as variables, and passing them to components.

Summary of Content:

  • Defining a function
  • Calling a function with and without arguments
  • Assigning default values to arguments
  • Returning values from functions

Instructor

Links

Comments

There are no comments on this lesson, start the conversation below ...

>
You need to go PRO to post comments.

Lessons in Beginning JavaScript for React Native