Umme habiba (@coder_habiba) header
Umme habiba (@coder_habiba) profile picture

Senior Software Engineer @IBM | Open source contributor | Knowing JavaScript in-depth๐Ÿ’œ

India
Joined March 2020
Photo by Umme habiba (@coder_habiba)Photo by Umme habiba (@coder_habiba)Photo by Umme habiba (@coder_habiba)Photo by Umme habiba (@coder_habiba)Photo by Umme habiba (@coder_habiba)Photo by Umme habiba (@coder_habiba)Photo by Umme habiba (@coder_habiba)Photo by Umme habiba (@coder_habiba)Photo by Umme habiba (@coder_habiba)Photo by Umme habiba (@coder_habiba)
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
1
3
137
๐‡๐จ๐จ๐ค 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
#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
Websites that will help you to enhance your frontend skills.๐Ÿ”ฅ Thread๐Ÿงตโœˆ๏ธ
40
165
2
440
#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