Category: Useful Resources
-
Built in Functions
Here, you can find all the JavaScript’s built-in methods on the following classes: Number Methods The Number object contains only the default methods that are part of every object’s definition. Sr.No. Method & Description 1 constructor()Returns the function that created this object’s instance. By default this is the Number object. 2 toExponential()Forces a number to…
-
Cheatsheet
Write On-page JavaScript To add on-page JavaScript in an HTML document, use the following script tag − <script type=”text/javascript”>// Write your JavaScript code here</script> Insert an External JavaScript file You can insert an external JavaScript file in an HTML document using the HTML’s <script> tag by specifying the file path with the src attribute. <script src=”file.js”></script> Printing/Output JavaScript provides…
-
Questions and Answers
Javascript Questions and Answers has been designed with a special intention of helping students and professionals preparing for various Certification Exams and Job Interviews. This section provides a useful collection of sample Interview Questions and Multiple Choice Questions (MCQs) and their answers with appropriate explanations. Sr.No. Question/Answers Type 1 JavaScript ExamplesThese JavaScript examples are organized by topics and arranged…