javascript_cardio
javascript_cardio copied to clipboard
JavaScript challenges and problems
Used correct variable names for the odd even sum problem
learning
I just removed the -1 on reverseString function on the for loop and changed the >= 0 to > 0. I think is more elegant this way
added is palindrome solution
Added a solution
Solution of missingLetters that also return consecutively missed letters. All other solutions have this drawback.
This solution uses recursion to flatten any depth of nested array (without using the built-in flat() method).
find length of array using at, use ternary operator to push values to array
adding another way to reverse a string