Solve programming problems in Javascript or TypeScript!
previous ~ next ~ JS Syntax HelpLogic-1
--more20
Return true if the given non-negative number is 1 or 2 more than a multiple of 20.
Examples
- more20(20) → false
- more20(21) → true
- more20(22) → true
(ctrl-enter)
xxxxxxxxxx
1
function more20(n){
2
3
}