Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var quarter = function(n) {
- return n % 4 == 0;
- return true;
- } else {
- return false;
- }
- };
- if (quarter(2) % 3 === 0 ) {
- console.log("The statement is true");
- } else {
- console.log("The statement is false");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement