Objective
Today, we’re discussing JavaScript functions. Check out the attached tutorial for more details.
Task
Implement a function named factorial that has one parameter: an integer, n. It must return the value of n! (i.e., n factorial).
In this challenge, we practice using arithmetic operators. Check out the attached tutorial for resources.
Complete the following functions in the editor below:
The values returned by these functions are printed to stdout by locked stub code in the editor.
Today, we’re discussing data types. Check out the attached tutorial for more details.
Variables named firstInteger, firstDecimal, and firstString are declared for you in the editor below. You must use the + operator to perform the following sequence of operations:
Update your browser to view this website correctly. Update my browser now