Given an array of numbers, including nested arrays of numbers, write a function which returns the sum of all the numbers in the array and nested arrays.
multiDimSumArray([1,4,[4,2],[2,[1,3]],3]) // should return 20
Follow-up example:
In the root of your Project, run npx create-react-app client
package.json
and node_modules
)MDN DOCUMENTATION FOR CLASSES: HERE
Given an string str
, create a function that returns a boolean, corresponding to whether that string is a palindrome (spelled the same backwards and forwards). Our palindrome check should be case-insensitive.