Can you show more code? Like where the console log happens? Your function shouldn’t be logging anything on the console, based on the code you provided so far.
When i try to hit the console in the browser, when i type in [ getArea = (10, 20) alone ] it provides me with the calculated answer of 20 but when i type in the [ getArea = (10,20, ‘string of any unit’,
the ‘string of any unit’ only pops up.
This was just a section in a tutorial I have seen and tried to run the simple line of code myself but it does’nt even pop up so im kinda bummed.