Why is this piece of Javascript code so slow?
问题 I have this piece of Javascript code, which takes about 600 ms on every call in Internet Explorer. The time taken in other browsers is negligble. var _nvs_currentTab; var _nvs_zoomfield; var _nvs_centerfield; var _nvs_globsearch; var _nvs_category; var _nvs_favsonly; var _nvs_wishonly; var _nvs_friendfavsonly; var _nvs_newitemsonly; var _nvs_globsearchOld; var _nvs_catOld; var _nvs_favsonlyOld; var _nvs_wishonlyOld; var _nvs_friendFavsonlyOld; var _nvs_newItemsOnlyOld; function saveState() {