0

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 ?

Phil
  • 141,914
  • 21
  • 225
  • 223

0 Answers0