Closed izhyvaiev closed 8 years ago
In HTML5 history.state is returned as copy and in HTML4 fallback for IE9 it's reference. Code like
var currentState = history.state; currentState.variable = 'some data';
won't affect current history.state in HTML5 but will affect it in HTML4 fallback.
In HTML5 history.state is returned as copy and in HTML4 fallback for IE9 it's reference. Code like
won't affect current history.state in HTML5 but will affect it in HTML4 fallback.