8 ways to remove duplicates from Array in TypeScript

How can we code when we want to get unique values from an array? Which one is the fastest? I will show the performance ...

String concat in JavaScript Performance Comparison

JavaScript offers several ways to concatenate strings. Let's learn how to concatenate strings and which one is the best...

Is Map object faster than if-else and switch?

Map object in javascript or typescript can be used as a key-value object like a tuple. It's almost the same as Dictiona...

Best way to implement utility function Top-level vs Static vs Namespace

There are several ways to offer utility function which is used by variety classes. Have you ever considered which way i...

Difference between for, while, forEach, for-in and for-of

A lot of languages support several ways for loop logic. Typescript supports following ways for example. whileforfor ...
Copied title and URL