Sajwan05(Odin-ind) (@Thedev55) header
Sajwan05(Odin-ind) (@Thedev55) profile picture

Training to be Software Engineer #100Devs. Learning JS. Into Cricket and polity. Quitting Smoking Journey! Learning Full Time @TheodinProject 6kyu @codewars

Joined November 2023
Photo by Sajwan05(Odin-ind) (@Thedev55)Photo by Sajwan05(Odin-ind) (@Thedev55)Photo by Sajwan05(Odin-ind) (@Thedev55)Photo by Sajwan05(Odin-ind) (@Thedev55)Photo by Sajwan05(Odin-ind) (@Thedev55)Photo by Sajwan05(Odin-ind) (@Thedev55)Photo by Sajwan05(Odin-ind) (@Thedev55)Photo by Sajwan05(Odin-ind) (@Thedev55)Photo by Sajwan05(Odin-ind) (@Thedev55)Photo by Sajwan05(Odin-ind) (@Thedev55)
Today we had our first Tech hangout in Dehradun. We had amazing people like @The_Northman07 @DevMukulSajwan And Shubham. For more updates like when we'll be hanging out next please join here if you're from Dehradun : chat.whatsapp.com/CwCNVjBMEj…
1
2
7
1,240
I am taking break from X for next few months. See you around. Signing out.
4
47
What is recursion?
What is recursion?
1
1
53
Have you ever thought about when we use <script></script> tag at the end of html file so we just use src meanwhile when we use script tag on top of file basically inside header so we use defer with src attribute why? Here a great article about this: javascript.info/script-async…
1
3
40
In short: The defer attribute tells the browser to download the script in the background (non-blocking) while continuing to parse the HTML. The script only executes once the HTML parsing is completely finished, but strictly before the DOMContentLoaded event fires.
1
2
30
For adding text to a web page textContent is preferred in comparison to innerHTML, because innerHTML should be used sparingly to avoid potential security risk like JavaScript injection. Watch below video for more info: youtube.com/watch?v=ns1LX6mE…
1
30
I was solving shuffling the array problem and then I got stuck in it. So then I had to take a break and divide the problem into smaller one I started from how to swap to array element and while doing that it clicked that we can iterate to scale this solution.
2
26
Today we had our 3rd Tech hangout/meetup in Dehradun. Today we had Adarsh @adarsh_dev_01 and Aayush @The_Northman07 . It was amazing to hang out with these folks. For more updates when we'll be hanging out next join: Dehradun Hangout: chat.whatsapp.com/CwCNVjBMEj…
Today we had our 2nd tech hangout/meetup in Dehradun. Today I met Adarsh, Adarsh is very passionate about coding learned a lot from him. It was very productive hanging out with Adarsh today. If you're in Dehradun consider joining chat.whatsapp.com/CwCNVjBMEj… to know more details.
4
368
Hey @SpotifyCares @spotifyindia , The open.spotify.com/premium premium page is showing raw <br/> tags instead of line breaks. I have tried to reproduce the UI bug on Firefox and Chrome too and it was consistent. I'm attaching screenshot below:
1
2
265
Indian women did it, finally the world champion 🏆.
1
38
Today we had our 2nd tech hangout/meetup in Dehradun. Today I met Adarsh, Adarsh is very passionate about coding learned a lot from him. It was very productive hanging out with Adarsh today. If you're in Dehradun consider joining chat.whatsapp.com/CwCNVjBMEj… to know more details.
Today we had our first Tech hangout in Dehradun. We had amazing people like @The_Northman07 @DevMukulSajwan And Shubham. For more updates like when we'll be hanging out next please join here if you're from Dehradun : chat.whatsapp.com/CwCNVjBMEj…
1
3
585
Great code comes from experience. Experience comes from not-so-great code.
1
33
What a chase by Indian women cricket team #CWC25 Inspiring stuff. That too beating defending world champions. One of the great Chase.
1
69
It's often said that everything in Javascript is object but that is not entirely true. Because all the primitives types are not objects but they have wrapper objects like in java we have wrapper classes for primitives. So in javascript sometimes we can do something like below...
1
2
78
let str = "hey"; str.toUpperCase(); // HEY - now you can say that if string is primitive and immutable how we can use methods on it, that's because JS is sneky under the hood it uses the wrapper String object and after using method and retrurning it discard the object.
2
25
In JavaScript let,var,const,function, class all are hoisted. But let and var are hoisted differently then the var. Because in case of var both declaration and initialization are hoisted that means if you access value of variable initialised with var before imitializing it ....
1
2
67
It will give you undefined. But in case of let and const it is hoisted too but only declaration is hoisted not initialization until it is evaluated or until execution reached the declaration and initialized statements. So until let is evaluated it will give you Reference error
1
1
19
WSL2 was great until it wasn't, I was comfortable with WSL2, but after experiencing few hiccups with it, I finally switched to Ubuntu. Early impressions are : it's like taking training wheels off It is scary but freeing.
1
123
Happy diwali to everyone, have a beautiful and prosperous Diwali. And to the people blinded by bias who say bursting crackers won't make pollution worse, just look at this. Besides ignorant still gonna burst crackers There should be blanket ban on crackers(throughout the year)
65