Javascript Exam 1 – Summary Questions with complete Answers 2024
Garbage collection - ____ refers to cleaning up, or reclaiming, memory that is reserved by a program. Break - A(n) ____ statement is used to end the execution of a switch statement. delete - To delete a specific property in a custom object, you use the ____ operator colon - A case label consists of the keyword case, followed by a literal value or variable name, followed by a ____. line - A(n) ____ comment occupies only a single line or part of a line. components - Objects are also called ____. constructor - A(n) ____ function is a function that is used as the basis for a custom object. instance - A(n) ____ is an object that has been created from an existing class. submit - In general, modern browsers display validation feedback after the ____ event is triggered by a form date - The ____ class contains methods and properties for manipulating the date and time. sort() - To sort elements of an array alphabetically, you use the ____ method. strongly - Programming languages that require you to declare the data types of variables are called ____ typed programming languages. number - Which type value for the input element triggers validation in modern browsers? value - What element property would you use when copying the contents of one text field to another text field? for/in - To execute the same statement or command block for all the properties within a custom object, you can use the ____ statement. querySelector() - Which method returns a single element? return - A(n) ____ statement is a statement that returns a value to the statement that called the function. stringify() - To convert a JavaScript object to a JSON string,
Document information
- Uploaded on
- June 10, 2024
- Number of pages
- 5
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers