A8) The isNaN() function is used to determine if the type of a value is number or not. This function returns true if the type of the value is number Otherwise it returns false.
Q9) What is the difference between undefined value and null value?
A9) Undefined means that a variable has been declared but it has not been initialised or assigned any value yet. On the other hand, null is an assigned value which means nothing. Another difference is that null is an object whereas undefined is of type undefined. In simple terms, undefined is a type and null are an object.
The exception handling mechanism contains the try, catch, throw and finally statement. The try statement lets you test the code, catch statement handles the error, the throw statement lets you create customised errors. The code is executed in the finally statement.
Q15) Explain some built-in methods in detail.
A16) The ViewState is maintained only at the page-level, the information in view state cannot be transferred to any other place as it is stored for the clients only. The SessionState is maintained at the session level and the data is accessed across all pages in the web application and can be accessed by any person.
Q17) Explain the '===' operator?
Q 18) What is DOM?
A18) The DOM is an acronym for Document Object Model. DOM defines the logical structure of a document. DOM also describes the way a document can be accessed and manipulated.
We think you would be interested in Konfinity ‘s Web Development Course is developed by experts from IIT DELHI in collaboration with tech companies like Google, Amazon and Microsoft. It is trusted by students and graduates from IIT, DTU, NIT, Amity, DU and more.
Developers like you should join the course to master the art of creating web applications by learning the latest technologies. You start right from basic HTML and proceed to advanced and dynamic websites, in just a span of a few months.
Konfinity is a great platform for launching a lucrative tech career. We will get you started by helping you get placed in your dream company. You know what’s amazing - no prior coding experience is required to take up our courses. Start your free trial here.