re: What are your biggest struggles in learning JavaScript? VIEW POST


Should I say I made a fool out of myself in an interview, when I was asked related to Javascript:

'What is the result of 3 divided by 0 (3/0) in Javascript?'

With my Python Ninja Hat still on, with lots of sprinkles of common sense, was quick to say, 'ZeroDivisionError, or an error similar.'

For once in my life, I felt 100% confident about an answer, except to JS, when you divide a number by 0, you're in Infinity.


Code of Conduct Report abuse