For some reason 2 results are coming up in the history for ff and chrome, one to "search-results" and another to "search"?

<script type="text/javascript">
	var stateObj = { search: "search-results" };
	history.replaceState(stateObj, "page 1", "search-results");
I thought it was supposed to replace the entry vs create a new one ("pushState()")
"history.replaceState() operates exactly like history.pushState() except that replaceState() modifies the current history entry instead of creating a new one."