loading...

Discussion on: How to lose a Job in 10 minutes

Collapse
javamajk profile image
JavaMajk

Really nice use of .reduce() there in the getWordRotations, been studying the implementation and curious how this thing knows when to return the array 🤔

Collapse
javamajk profile image
JavaMajk

Ok never mid, it's [...word] spreading it into an array which is just being used as an 'iterations count'. Noob moment there 😝