Advertisement Β· 728 Γ— 90

Posts by Elvin Huseynov

Doesn't matter. We love you for your deep heart and knowledge.

1 year ago 0 0 0 0

πŸŽ‰βœ¨ Happy New Year! 🌟πŸ₯‚ Wishing you an incredible 2025 filled with success, joy, and exciting opportunities! πŸŽ†πŸŽŠ Let’s make the future unforgettable! πŸ₯³πŸŽˆ #HappyNewYear #Welcome2025 #NewYearEve

1 year ago 0 0 0 0

If the array included 0, Number would exclude it as falsy, but Number.isInteger would include it since it explicitly checks for integers. The confusion arises because 0 is falsy in JavaScript, and filter(Number) removes falsy values, while Number.isInteger focuses on integers only.

1 year ago 0 0 0 0
Post image

A clean way to filter values in #JavaScript is by using the #filter method. To filter numbers as #strings, pass #Number to filter. For #integers, use #Number.isInteger. Similarly, use #String for strings or #Boolean for truthy values. This approach is concise and versatile.

#Γ§ikidounz #javascriptβ„’

1 year ago 5 0 2 0
Post image

#JavaScript evolves, but older browsers may lack support for new features. Polyfills bridge this gap by adding missing implementations. Below is a polyfill for the map() method, allowing you to use it in unsupported browsers just like the native map().

#javascript #polyfill #ownvariant

1 year ago 1 0 0 0

Goodbye X

1 year ago 1 0 0 0
Post image

Here’s a debounce function you can use like Lodash!

⚠️ Avoid using it with React's input value prop on change events, as it may freeze updates.

πŸ“˜ Use Case: Delay API requests on change events.

Got questions? Drop a comment below!

#typescript #react #debounce

1 year ago 0 0 0 0
Preview
Advanced React - Book and Video Course Advanced React concepts, strategies, techniques, deep dive investigations, that will take your React knowledge to the next level.

Advanced React book is on sale with a 30% discount until the end of the calendar year!

There is also a secret way to turn it into 50% for those who pay attention to details on the website πŸ™ˆ

www.advanced-react.com

1 year ago 6 4 3 0
Advertisement

What a perfect day! Nadia (@adevnadia.bsky.social) is here with us on #Bluesky! "Advanced React" is an excellent book for a deep dive. I'm still re-reading it and refreshing my knowledge.

1 year ago 1 0 1 0
Post image

Destructuring in #JavaScript is powerful, but #array destructuring like const [, price] = data can be less clean and harder to maintain due to skipped indexes.

Instead, use object destructuring with specific array indexes on the right-hand side for better readability, clarity, and maintainability.

1 year ago 4 0 0 0
Post image

We can use JavaScript's Proxy along with the Reflect API to intercept or abstract an object, allowing us to hide its implementation details. πŸ’ͺ✨

#javascript #object #proxy

1 year ago 3 0 0 0

πŸ“˜ Algorithms & Data Structures
- Intro to Algorithms – Cormen, Leiserson, Rivest, and Stein
- Cracking the Coding Interview – Gayle Laakmann McDowell

1 year ago 0 0 0 0

πŸ“˜ Software Architecture
- Designing Data-Intensive Apps – Martin Kleppmann
- System Design Interview

πŸ“˜ Design Patterns
- Design Patterns – Eric Gamma et al
- Domain-Driven Design – Eric Evans

1 year ago 0 0 1 0
by ByteByteGo

by ByteByteGo

Top 10 Books for Software Developers

πŸ“˜ General Advice
- The Pragmatic Programmer – Andrew Hunt & David Thomas
- Code Complete – Steve McConnell

πŸ“˜ Coding
- Clean Code – Robert C. Martin
- Refactoring – Martin Fowler

othrers are in comment...

#books #development #developers

1 year ago 0 0 1 0
Post image

Here’s a simple, clean, and non-mutating function to delete a key from an object and return a new object.

#javascript #object #omit

1 year ago 4 0 1 0
Post image

JavaScript Tip πŸ’‘

Instead of chaining promises, use Promise.all or Promise.allSettled to resolve them concurrently. For example, two 1-second promises will resolve in ~1s with Promise.all instead of 2s. While these methods simplify concurrent handling, always weigh the trade-offs before using them.

1 year ago 1 0 0 0

Done

1 year ago 0 0 0 0
Advertisement

In #JavaScript, you can use the Object.freeze() and Object.seal() methods to make an object immutable or restrict its modifications. Using immutable objects can help make your programs more predictable, reliable, and less prone to bugs.

1 year ago 1 0 0 0
Post image

With Object.freeze():
1. Adding new properties: Not allowed ❌
2. Deleting existing properties: Not allowed ❌
3. Updating property values: Not allowed ❌

With Object.seal():
1. Adding new properties: Not allowed ❌
2. Deleting existing properties: Not allowed ❌
2. Updating property values: Allowed βœ…

1 year ago 1 0 1 0

The download link has not been sent so far. I have tried with multiple emails.

1 year ago 1 0 1 0

Experienced. Lived. Tasted

1 year ago 0 0 0 0
Post image

Did you know that in #JavaScript, you can use the spread syntax to see what an emoji is made of? ✨

#javascript #typescript #webdevelopment #webdev

1 year ago 1 0 0 0
Post image

Are you ready for an advanced #JavaScript question? Guess in the comments what the output of this code is. πŸ˜‰

#javascript #coding #programming

1 year ago 2 0 1 0

Looking delicious πŸ˜‹

1 year ago 0 0 0 0
Keep ⏬️ or share πŸ” these 10 time wasters

Keep ⏬️ or share πŸ” these 10 time wasters

These are 10 Time Wasters. Keep away from them:

1 year ago 1 0 0 0
Advertisement

Wow, even hashes are the same

1 year ago 1 0 0 0