Open Gopichand-sadineni opened 2 weeks ago
we can normally add the multi-line words as the keys to the object but using the constructor function it cannot be possible for instance:
function User(current_sal){ this."updated salary" // not possible //or this.[current_sal] // not possible }
we can normally add the multi-line words as the keys to the object but using the constructor function it cannot be possible for instance:
function User(current_sal){ this."updated salary" // not possible //or this.[current_sal] // not possible }