#Javascript
Prashant Basnet·5 days ago
Understanding Debounce vs Throttle
If you’ve ever built a search bar or input form that sends API calls, you’ve probably heard of debounce. Or maybe you’ve created a backend API then you've proba
3 min read·General
Brain Dump·5 days ago
🔗 LeetCode JavaScript Questions (with links)
List of question to upgrade your javascript skill.3373. Maximize the Number of Target Nodes After Connecting Trees II2618. Check if Object Instance of Class2619
2 min read·General
Brain Dump·Jan 16, 2025
Encode and Decode Strings | String Manipulation
decode(str) { const result = [] let i = 0 while (i < str.length) { const delimeter = str.indexOf('#', i) const length = str.substring(i, delimeter) const
1 min read·General
Prashant Basnet·Jan 15, 2025
For vs While loop | When to use what?
Whenever we are updating the iteration by only 1 count regardless we use for.If we want to update out iteration based certain count depending on the condition.
2 min read·General