-
-
Save IacovColisnicenco/c0b3ecd9328e67f41ec2a00a9e0ee6cc to your computer and use it in GitHub Desktop.
Вывод слов из 5 символов+
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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