Guest User

Untitled

a guest
Oct 15th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. var lost = [4, 8, 15, 16, 23, 42];
  2. var count = lost.length;
  3.  
  4. var isLost = function (n) {
  5. for (i=0, i<6, i++) {
  6. if ( n === lost[i]) {
  7. return false;
  8. }
  9. else
  10. {
  11. return true;
  12. };
Add Comment
Please, Sign In to add comment