I’m doing this exercise where you have to calculate the number of limes needed to get the juice. It needs a switch statement inside which takes out the first element of the “limes” array, (and that works flawlessly). Until i add the condition to count down the wedges: even if in the cases is specified to subtract a determined amount,
Tag: subtraction
How to subtract these two arrays
I am trying to subtract two matrices, I have a function that takes in those matrices and returns a new matrix that has been subtracted. I get this error in node.js: TypeError: (intermediate value).map is not a function This is the function I use from my main file (note: I already have an instance of the class). This is the