lesson-cover

Go Back

Foundations of JavaScript

Is First Num Bigger

Write a function that takes in 2 numbers and returns true if the first number is greater than the second, false otherwise.

Here's how another developer might use your function:

solution(5,9) // Should return false
solution(4,1) // Should return true