Computer Science, asked by SaniaKumar, 6 months ago

.......add extra properties to variables​

Answers

Answered by sangeetabhanwar
2

Answer:

To add a new property to an object, specify the object name followed by: a dot, the name of the new property, an equals sign, and the value for the new property (enclosed in quotes if it is a string).

dynamic properties can add extra properties to object

Similar questions