Skip to content

Uncategorized

parseInt and Radix

Everyone knows that the parseInt function within JavaScript turns your decimal number or string into a rounded integer. parseInt turns 10.937 into 10, 0.2 into 0, and “someValue” into NaN.  If you use parseInt without a radix, however, you’ll… Read More »parseInt and Radix

Node server with ES6

Today I was wondering how could I write ES6 code and run it on node so I could write my applications using always the same pattern, no matter if I’m writing Node backend code of… Read More »Node server with ES6

Merge Sort Algorithm

The Merge Sort algorithm is one of the most commonly used sorting algorithms in computer science and is also one of the most efficient. It’s based on the principle of Divide and Conquer, and this technique… Read More »Merge Sort Algorithm