
Senior Software Engineer @IBM | Open source contributor | Knowing JavaScript in-depth๐
India
Joined March 2020
- Tweets89
- Following1.2K
- Followers75
- Likes357
Pinned Tweet
I learnt 3 important lessons from Ankur warikoo @warikoo Instagram live today.
- Never do anything that you dislike.
- Always surrounded by people who tell you the truth about yourself.
- Always reflects on your failure.
# Keep Learning
๐๐จ๐จ๐ค 7.ย ๐ฎ๐ฌ๐๐๐จ๐ ๐ ๐ฅ๐ ๐ด ๐ค
๐ถ๐ด๐ฆ๐๐ฐ๐จ๐จ๐ญ๐ฆ is a simple custom hook that allows you to toggle a Boolean value. This can be particularly useful when dealing with ๐ฎ๐ฐ๐ฅ๐ข๐ญ๐ด, ๐ฅ๐ณ๐ฐ๐ฑ๐ฅ๐ฐ๐ธ๐ฏ๐ด, and other UI elements that need to be toggled ๐ฐ๐ฏ and ๐ฐ๐ง๐ง. ๐ก
3
69
๐๐๐ฐ ๐๐๐ฏ๐๐๐๐ซ๐ข๐ฉ๐ญ ๐
๐๐๐ญ๐ฎ๐ซ๐๐ฌ ๐๐13
โ
Class field declarations
โ
Top-level await
โ
Private instance fields, methods, and accessors
โ
Static class fields and methods
โ
Static class initialization blocks
โ
.๐ค๐ข๐ถ๐ด๐ฆ() error
โ
.๐ข๐ต() method
โ
.๐ฉ๐ข๐ด๐๐ธ๐ฏ()
๐
1
2
86
Checkout my Linkedin post in details linkedin.com/posts/ummeqadriโฆ
1
63
#css #html #interviewquestions #interviewpreparation
๐๐๐๐ก๐ข๐ง๐ ๐๐จ๐๐ข๐ง๐ ๐ข๐ง๐ญ๐๐ซ๐ฏ๐ข๐๐ฐ ๐ช๐ญ๐ง ๐๐๐ - ๐๐๐ฌ๐ข๐ ๐ง ๐๐ฎ๐ฅ๐ญ๐ข ๐๐๐ฏ๐๐ฅ ๐๐๐ฏ๐ข๐ ๐๐ญ๐ข๐จ๐ง ๐๐๐ง๐ฎ
๐ Codepen:ย lnkd.in/gS_aysRD
2
93
#javascript #datastructuresandalgorithms #interviewquestions
๐ ๐๐ ๐๐จ๐๐ข๐ง๐ ๐๐ฎ๐๐ฌ๐ญ๐ข๐จ๐ง - ๐๐๐ฅ๐ข๐ ๐๐๐ซ๐๐ง๐ญ๐ก๐๐ฌ๐๐ฌ (),{},[]
Codepen :ย lnkd.in/gpNbMecg
๐๐๐ข๐ฆ๐ ๐๐จ๐ฆ๐ฉ๐ฅ๐๐ฑ๐ข๐ญ๐ฒ: ๐(๐ง)
๐๐๐ฉ๐๐๐ ๐๐จ๐ฆ๐ฉ๐ฅ๐๐ฑ๐ข๐ญ๐ฒ: ๐(๐ง)
1
68
๐๐๐๐ก๐ข๐ง๐ ๐๐จ๐๐ข๐ง๐ ๐ข๐ง๐ญ๐๐ซ๐ฏ๐ข๐๐ฐ ๐ช๐ฎ๐๐ฌ๐ญ๐ข๐จ๐ง ๐๐ - ๐๐๐ฌ๐ข๐ ๐ง ๐๐๐๐จ๐ซ๐๐ข๐จ๐ง
๐ Codepen: lnkd.in/gkVz4HKr
1
62
Higher-order function in JavaScript
A higher-order function is a function that takes one or more functions as arguments or returns a function as a result.
3
74
๐๐จ๐ฐ ๐๐๐ง ๐ฒ๐จ๐ฎ ๐ข๐ฆ๐ฉ๐ฅ๐๐ฆ๐๐ง๐ญ ๐ ๐ฉ๐ซ๐จ๐ฆ๐ข๐ฌ๐-๐๐๐ฌ๐๐ ๐ฏ๐๐ซ๐ฌ๐ข๐จ๐ง ๐จ๐ ๐ฌ๐๐ญ๐๐ข๐ฆ๐๐จ๐ฎ๐ญ() ๐ข๐ง ๐๐จ๐๐.๐ฃ๐ฌ ๐จ๐ซ ๐๐๐ฏ๐๐๐๐ซ๐ข๐ฉ๐ญ?
Check comment section to know more.
1
1
62
Node.js provides a built-inย ๐ด๐ฆ๐ต๐๐ช๐ฎ๐ฆ๐ฐ๐ถ๐ต()ย function for delaying the execution of code. However, it does not return a Promise, which can make it difficult to work with in some cases. Here's an example implementation of a promise-based version ofย ๐ด๐ฆ๐ต๐๐ช๐ฎ๐ฆ๐ฐ๐ถ๐ต()
1
36
#css #interviewquestions #interviewpreparation
๐๐๐๐ก๐ข๐ง๐ ๐๐จ๐๐ข๐ง๐ ๐ข๐ง๐ญ๐๐ซ๐ฏ๐ข๐๐ฐ ๐ช๐ฎ๐๐ฌ๐ญ๐ข๐จ๐ง ๐ - ๐๐๐ฌ๐ข๐ ๐ง ๐๐จ๐ฉ๐จ๐ฏ๐๐ซ
๐I will be solving a set of machine-coding interview questions! Remain tuned.
Codepen link - lnkd.in/gN8_CMxi
1
57
#javascript
๐๐๐ฌ๐ญ ๐ฉ๐ซ๐๐๐ญ๐ข๐๐๐ฌ ๐๐จ๐ซ ๐๐ฌ๐ฒ๐ง๐๐ก๐ซ๐จ๐ง๐จ๐ฎ๐ฌ ๐๐ซ๐จ๐ ๐ซ๐๐ฆ๐ฆ๐ข๐ง๐ ๐ข๐ง ๐๐๐ฏ๐๐๐๐ซ๐ข๐ฉ๐ญ ๐
โ
Avoiding callback hell
โ
Proper consumption of promises
โ
Use async/await
โ
Error handling (try-catch-finally)
โ
proper parallel running of promises
3
66
Umme habiba retweeted
Websites that will help you to enhance your frontend skills.๐ฅ
Thread๐งตโ๏ธ
#javascript #datastructure #algorithm
๐ฏ2๐๐ฎ๐ฆ, 3๐๐ฎ๐ฆ ๐๐ง๐ 4๐๐ฎ๐ฆ ๐ข๐ง ๐ฃ๐๐ฏ๐๐ฌ๐๐ซ๐ข๐ฉ๐ญ ๐๐
๐๐๐ญ๐ฌ ๐ฌ๐ญ๐๐ซ๐ญ ๐ฐ๐ข๐ญ๐ก ๐๐ฐ๐จ ๐๐ฎ๐ฆ : ๐๐ก๐๐๐ค ๐ข๐ ๐ ๐ฉ๐๐ข๐ซ ๐ฐ๐ข๐ญ๐ก ๐ ๐ข๐ฏ๐๐ง ๐ฌ๐ฎ๐ฆ ๐๐ฑ๐ข๐ฌ๐ญ๐ฌ ๐ข๐ง ๐๐ซ๐ซ๐๐ฒ. โฌ๏ธ
1
2
i =3 , n = 8, map[target-n]=map[14-8]=6 , true
As we can see in map '6 'already present
[map[target-n], i] = [map[14-8],3] = map[6],3 = [1,3]
1
๐จBookmark this ๐ค?
I've written a few posts about polyfilling Javascript methods. I've compiled any questions about this topic, along with an easy solution and created a github repo. ๐
๐๐ฎ๐๐๐๐๐ - lnkd.in/gTF4E8dD
Feel free to fork this repo and add more question
1





