Advertisement
Guest User

Untitled

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