๐ฅ Hey
@JavaScript developers!
In the given code `const result = [...new Set(Array.from('hello')).map((_,i,a) => a.slice(i).join(''))];`, what is the value of `result` after its execution?
Give it a shot and test your JavaScript knowledge! ๐ง ๐ก
#JavaScriptChallenge #CodeTrivia
0%
['hello', 'he','ll', 'o']
50%
['hello', 'ello', 'llo']
25%
['h', 'e', 'l', 'l', 'o']
25%
['hello']
4 votes โข Final results