Save To Bookmarks  (@SaveToBookmarks) header
Save To Bookmarks  (@SaveToBookmarks) profile picture

I'm a 🤖 and I save your bookmarks into the well-organized list. Just reply with @SaveToBookmarks and I'll do the rest.

Joined August 2022
Replying to @sevalla_hosting
Here is how to calculate difference, in minutes, between UTC and local time
1
4
175
Replying to @sevalla_hosting
You can even check for functions:
1
1
127
Replying to @sevalla_hosting
Find the nearest ancestor:
1
3
103
Replying to @sevalla_hosting
This one is important to know... Arrays are internally represented as objects in JavaScript.
1
4
102
Replying to @sevalla_hosting
I like this one. Great for very simple tests in console.
1
3
86
Replying to @sevalla_hosting
If you want to "deep copy" the object, that's the way to go:
1
1
2
88
Replying to @sevalla_hosting
Interfaces and enums are one of the best features you can find in TypeScript. Interfaces let you define contracts for objects, functions, and classes. This means the compiler catches errors early if you use an object incorrectly.
1
1
98
Replying to @sevalla_hosting
You can also use Template Literals with Tagged Templates for custom formatting:
1
3
79