Comparing performance of javascript forEach and for loop on array of items

Introduction Last week i had to optimize javascript code that didn’t perform well enough in Internet explorer (11). Chrome was also not performing very well, so i started searching for performance gains. There were many Arrays in code and there where many forEach loops. I changed some foreach loops to for loops and performance improved quite […]

VS2015 TypeScript Cannot compile modules unless the ‘–module’ flag is provided build error

Introduction In Visual studio 2015 i had big troubles using TypeScript import statements in combination with exporting modules. At build i got TypeScript compiler errors stating : Cannot compile modules unless the ‘–module’ flag is provided build error. I used TypeScript and modules before without running into this problem, but in those cases i didn’t use […]