Challenge: Anonymous Function

Test your understanding by solving the challenge given in this lesson.

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


Expected output


Get hands-on with 1200+ tech skills courses.