Home

Last Digit

Given two non-negative integers, return true if they have the same last digit, such as with 27 and 57.

lastDigit(7, 17) → true
lastDigit(6, 17) → false
lastDigit(3, 113) → true

😳 TIME LEFT: seconds 😳

function lastDigit(a, b) {

}

TOTAL TIME: seconds