re: How to lose a Job in 10 minutes VIEW POST

VIEW FULL DISCUSSION
 

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

 

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

code of conduct - report abuse