Ever wondered why we can use built-in methods such as .length, .split(), .join() on our strings, arrays, or objects? We never explicitly specified them, where do they come from? Now don't say "It's JavaScript lol no one knows, it's magic π§π»ββοΈ", it's actu... (more…)
Read more »
Dead code elimination is a process wherein code that is not used is excluded from the code that is executed. In many compile time languages this is a much easier process since a compiler can easily determine the code that is used. However in javascri... (more…)
Read more »
Intro Quite some time has passed since my last blog post, so I decided to present a nice feature of PDF. I will use a made up example ...
Read more »
Implementing a (univariate) linear regression with gradient descent, cost function and hypothesis in JavaScript ... (more…)
Read more »