Challenge: Anonymous Function
Test your understanding by solving the challenge given in this lesson.
We'll cover the following
Problem statement
In this challenge, you have to implement an anonymous function that takes two integers as arguments and returns the sum of two integers.
Note: You must save the anonymous function in the
var sumOfIntegers
variable.
Sample input
sumOfIntegers(24,25)
Expected output
49
Get hands-on with 1200+ tech skills courses.