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.
This comment is hidden because it contains spoiler information about the solution
.... I was struggling to figure out why emp wouldn't accept values, the console.log is from testing .... XD 5 days in javascript dont judge fam
This comment is hidden because it contains spoiler information about the solution
Ignore the alphabet/alphaset lines. They were for a for loop I had intended to make until my research immediately caused my neurons to connect and find a more apt solution. Too busy learning about file manipulation to remember the basics sometimes. Love this site.
One liners aren't common practice in production. Hard to read, prone to bugs. You really don't need a for loop here as you mainly need to specify the larger of the two numbers (math is weird I know) and run the SUM for the numbers in the RANGE.
Maybe I just misunderstand what a pangram is. Can a pangram contain numbers and be a pangram - google seach material.
Would this not break on the numbers? if the string is "The1 Fox2"etc in a way that contained the entire .ascii a-z, but also included numbers would this not return true even though its not a pangram?
When leaving feedback please remember at the date of this 5/7 I have been coding for like 13 days, yes I googled things to come up with my own coding, yes its probably not O(n) efficient as I still don't know what that means (also didn't realize you could import outside of the function in codewars! Definitely something Ill look back on and chuckle about later as my knowledge grows)