Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. function driversLicence5(passedTest) {
  2.  
  3. if (passedTest) {
  4. console.log(firstName);
  5. var firstName = ‘John’;
  6. var yearOfBirth = 1990;
  7. }
  8.  
  9. console.log(firstName + ‘nacido en ’ + yearOfBirth + ‘ es oficialmente un conductor sobrio’);
  10. }
  11.  
  12. driversLicence5(true);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement