Last active
April 15, 2017 13:09
-
-
Save rista404/daa8f9ce0ee6779d38062ca5c5a183aa to your computer and use it in GitHub Desktop.
This file contains 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
const string = "Danas je lep i suncan dan"; | |
const p = 3, q = 5; | |
string | |
.split(' ') | |
.filter((word) => word.length >= p && word.length <= q) | |
.forEach(console.log) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment