Guest User

Untitled

a guest
May 22nd, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. function friend(friends){
  2. //your code here
  3. var result = friends.filter(function(item){
  4. return item.length < 5;
  5. });
  6. return result;
  7. }
  8.  
  9. friend(["ravi", 'Sishti', "Abhishek", "pintu", "sudha", "teja", "harsh", "rupa"]);
Add Comment
Please, Sign In to add comment