Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Thank you Moormaster for your solution and links provided on test framework, just realized as u mentioned prompt and alert could not work on this site for reasons of ui specially when we need to apply the test code, and the test should provide input data and result, your description on extracted functions are nice and complete.
Need a little time to read and understand your code (as i'm a newbie) after that I will reply this post again as im trying to make this challenge complete for submission on kata which now thanks to data you provided should be possible...