Matej
Space of Matej

Space of Matej

Removing nested loops in Javascript

Nov 29, 20213 min read

Recently I was hit with a problem in performance with Javascript. I needed to find an intersection of two arrays. My brain immediately went towards the solution of nesting two for loops, then comparing each element inside of it: const fruitInStoreA =...

Removing nested loops in Javascript
The difference between enum, const enum and declare enum in Typescript
How to use Type guards in Typescript
Perfectionism as a Software Engineer
Getting started with Creative Coding and p5.js