Because a new i is created for each iteration of the loop, so that closures created within the loop close over the i for that iteration. This is covered by the specification in the algorithm for the evaluation of a for loop body, which describes creating a new variable environment per loop iteration. Example: for … Continue reading Why is chrome slow when using let inside for loop?
Sometimes we need to create JSON in a text file with extension. json, however by default IIS 7 or any of the IIS are not configure to handle .json extension. So below is a very simple method to do that. You can apply the method on the root of IIS so .json can be handled … Continue reading How to add json handler support in IIS 7
window.open scrollbars=no not working in chrome I have a link that opens a popup window using window.open(). The problem is the scrollbars=no don’t work in Chrome. They work in IE and Firefox, so I’m thinking it has something to do with Chromes new scroll bars. This is the code I’m using: html: <a href=”http://mypage.com/mypage.html”>Mypage</a> jQuery: $(‘a’).click(function() … Continue reading solution for window.open scrollbars=no not working in chrome
Problem : Last week, when I desired to search thing in Google through internet explorer, I got awfully astonished as I found there was no search bar for Google play store. I started exploring myself , what in the world could made Google search bar invisible. In fact, it works well in Firefox. So I … Continue reading Unable to find google search bar in Internet explorer