+1 vote
in JavaScript by
In the following line of code, what we will call the "datatype" written in brackets?

article[datatype]=assignment_value;  

a) An String

b) A integer

c) An object

d) Floating point

1 Answer

0 votes
by

Answer: A

Reason: In the above-given line of code, the value within the square brackets is used for accessing the property of that object. While using square brackets, the expression always evaluates to the string, or in the form of a value that is converted into a string.

...