Edit in JSFiddle
JavaScript
HTML
CSS
Result
var a = 0/0; alert(a); alert(typeof a); var b= Infinity, c= b/b; alert(c); alert(typeof c);