I have two objects, 'Loaded' and 'Current'. I wanted to make 'Current' a copy of 'Loaded' initially, but I found that if I just set 'Current = Loaded', that 'Current' was acting as a pointer to 'Loaded'. Any changes I made to 'Current' updated 'Loaded' also. I read online that the way to do it was to use 'Current = Object.create(Loaded)', which worked perfectly.
However, now I'm doing my browser testing -- I have to support IE7+ -- and in IE7, that line gives me the error "Object doesn't support property or method 'create'".
Is there an IE7-friendly way to do this?
Any help would be greatly appreciated!!