Since javascript and standard datatypes in other languages are both mentioned, integer division is a gray area. In C,
means i = 2. This is what is expected if the standard int datatype is used. In javascript, however,int i = 5 / 2;
gives us i = 2.5. Which of these is valid?var i = 5 / 2;




