in Education by
The purpose of extensible attribute is to __________ (a) make all of the own properties of that object non configurable (b) to configure and bring a writable property (c) “lock down” objects into a known state and prevent outside tampering (d) to include new properties into the object I got this question during an interview. Asked question is from Object Attributes and Serialization topic in section Lexical Structures of JavaScript Select the correct answer from above options JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Right choice is (c) “lock down” objects into a known state and prevent outside tampering Easiest explanation: Extensible attributes determines whether the object can have new properties or not. Therefore extensible attribute will allow an object to include and write properties into them.

Related questions

0 votes
0 votes
0 votes
    What is the purpose of the domLoading attribute? (a) Document exists (b) Document can load (c) ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 22, 2021 in Education by JackTerrance
0 votes
0 votes
    What is the attribute of java bean to specify scope of bean to have single instance per Spring IOC? ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which attribute is used to specify initialization method? (a) init (b) init-method (c) initialization (d ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which attribute is used to specify destroy method? (a) destroy (b) destroy-method (c) destruction (d ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Default value of autoFlush attribute is? (a) true (b) false I have been asked this question during ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which attribute uniquely identification element? (a) ID (b) Class (c) Name (d) Scope This question ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
0 votes
    What is the default value of the type attribute? (a) text/css (b) text/javascript (c) html (d) ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    Which of the following is an attribute to the script object? (a) onclick (b) onload (c) onshow ( ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
...