Skip to content

Instantly share code, notes, and snippets.

@IacovColisnicenco
Created April 1, 2021 16:21
Show Gist options
  • Select an option

  • Save IacovColisnicenco/c0b3ecd9328e67f41ec2a00a9e0ee6cc to your computer and use it in GitHub Desktop.

Select an option

Save IacovColisnicenco/c0b3ecd9328e67f41ec2a00a9e0ee6cc to your computer and use it in GitHub Desktop.
Вывод слов из 5 символов+
let str = 'Lorem ipsuma is simply dummy loreman';
let arr = str.split (' ');
for (let i = 0; i < arr.length; i++){
if(arr[i].length >= 5) {
console.log(arr[i]);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment