Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var isAdmin = false;
- var isStudent = true;
- if ( isAdmin ) {
- alert('Welcome administrator')
- } else if (isStudent === true) {
- alert('Welcome Student');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement