These are chat archives for **codefellows/sea-c16-javascript**

@joeelsey I keep getting infinity

not sure if that is even a valid thing though

@joeelsey if I understand math correctly dividing by zero can only really result in -∞ or ∞. from what I have read JavaScript defines 0 as having infinite 0's in it so if you divide any non zero number by 0 you end up with infinity and if you divide 0 by 0 you are basically dividing infinity by infinity, which, assuming we are dealing with only one class of infinity is, indeterminate and thus returns NaN. I am fully expecting to be wrong about this because as has been said, javascript is weird.

not that I really know any of that but I got stuck in a wikihole and felt like something productive should come out of it.

Drowning. Can't swim.

Blurb. gurgle.

I was working on a tutorial module to make a calculator object that could add, subtract, multiply, and divide. Kept getting hung up by the divide because numbers being divided by zero were coming up null. Tried to google first, but I figured I'd take my question here afterwards.

@sburbidg For what it's worth, dividing by zero doesn't result in infinity, it's undefined.

i took the UX class and i think we wound up with free code school for a while. is that still a thing?