Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'use strict'
- let x = 4;
- let message = `The number ${x} is ${x % 2 == 0 ? 'even' : 'odd'}!` // The number 4 is even!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement