How arrays and objects are mutable but string, numbers and all the primitive data types are immutable?
var a = 'priya';
a = 'puja';
Is this immutable ?
How arrays and objects are mutable but string, numbers and all the primitive data types are immutable?
var a = 'priya';
a = 'puja';
Is this immutable ?