Answers for "object initializer in javascript"

0

object initializer in javascript

var obj = { property_1:   value_1,   // property_# may be an identifier...
            2:            value_2,   // or a number...
            // ...,
            'property n': value_n }; // or a string
Posted by: Guest on July-06-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language