Using letter Pi(π) in JavaScript

Today I was doing some math in JavaScript. I needed a simple calculation from degrees to radians. Of course, I didn't remember the formula. I copied it from Rapid Tables…

Read more

Discover what is inside webpack bundle

You start a new project using magic tools like yo, a built-in CLI (e.g. aurelia-cli, angular-cli, react-cli, vue-cli, omg-new-framework-cli) or just a template from GitHub. Most of them have…

Read more

NPM versus Yarn - the epic fight for speed in Continuous Integration

A few days ago, a new tool came from the Facebook team: Yarn package manager. The results published on the official Yarn web page are fantastic. I'm using local NPM…

Read more

Why HTML form with AJAX submit gives 404?

Imagine you have a simple login HTML form on your /Login page. It looks like below: <form id="loginForm" method="POST"> <input id="textinput" type="text" placeholder=…

Read more

How to remove JavaScript console.log - pros&cons

How to remove JavaScript console.log - pros&cons A few days ago I wrote a post: Disable JavaScript console on production. Shortly after that, I had a discussion…

Read more

New features in jQuery 3.0

We received a big present for the 10th anniversary of jQuery, jQuery 3.0 has reached beta status. Let’s take a look at what’s new in jQuery and…

Read more