🔴 Get my Complete Frontend Interview Prep course - roadsidecoder.com/course-details
@prangshugogoi5624
2 жыл бұрын
Kindly make a video on interview questions on cookies , local storage & session storage … also to mention nice explanation on the topics , Thank you 🙏
@girishanavani8620
2 жыл бұрын
Great video! Also, a video on local storage, session storage, and Indexed DB with the use case would be a great one.
@ashishmadan5700
2 жыл бұрын
I didn't find such a great video on Internet !! Thanks, man for such amazing content❤️Keep posting such content !!
@DeepakSingh-eq8jl
2 жыл бұрын
Yes, please make some more lectures on interview questions including session and local storage
@tpadma7419
5 ай бұрын
100% interview preparation..........very very thankfull...waiting for more such videos.....
@RoadsideCoder
5 ай бұрын
Checkout the full course here - roadsidecoder.com/course-details
@karthikkonathala3002
2 жыл бұрын
Yes, please make a video on differences between session storage, local storage and cookies when and how to use them
@chinmoyborah376
2 жыл бұрын
For me , a great video for revision. Thanks. Just a minor thing I would like to add for deep and shallow copy. While we use Object.assign({}, obj) or use spread operator {...obj} , only the primitive objects inside the main object gets deep cloned into new object. For the nested objects, only the reference is stored, which is basically shallow copy.
@deepakkolare
2 жыл бұрын
Great explanation! Object.freeze and Object.seal could have been added to the video.
@hamid.mahmood96
2 жыл бұрын
Yes please make a video on local storage and session storage
@kmsnymisha4607
2 жыл бұрын
Can you please explain why the members array remained same when person is set to null and why it changed to null only on changing the name property in the person object at 21:50
@RoadsideCoder
2 жыл бұрын
Because we are reassigning the value which replaces the previous object, but in case of name properly, we are changing the value of that key which has the reference to the original object.
@abdelrahmanelsaadany892
2 жыл бұрын
I didn't know this video existed! Thanks bro! Really grateful.
@kitchen-e-kausar9105
Жыл бұрын
Great video, thank you. For the last question I'm confused, Object.assign and spread operator, do they really create a deep copy? Would have been great if the video ended with the sone nested object examples.
@tamilselvans147
2 жыл бұрын
Hi bro, nice session. Pls do a video for How to make api's very secure?.. what are the possibilities? Jwt, Refresh token, etc
@vijenderkumar3034
9 ай бұрын
Please make video on local and session storage and cookie
@xync1252
2 жыл бұрын
Portfolio making please
@MrK-nb7xr
2 жыл бұрын
Please make on cookies , local storage, session related stuff every things .. Thanks
@prabhneetsingh13
2 жыл бұрын
Kindly make a video on local storage, session storage and cookies
@ojaspalorkar7434
Жыл бұрын
Please make video on local storage session storage !!
@cb559
2 жыл бұрын
on timestamp 18.10 we are not renaming the value of name , we are assigning the value of name to myName .As renaming means changing the value of name to other string Please correct me if i am wrong
@sidd_shaikh
Жыл бұрын
Hello sir if the object is deeply nested then how can we make deep copy
@100bi8
Жыл бұрын
ThankYou Prabhu ❤❤
@ansarisuhail5127
5 ай бұрын
Such a great video🎉
@chirag8250
2 жыл бұрын
13:35 yes please!
@kumar_awadhesh
2 жыл бұрын
Good job 👍👍 Thank you
@rams9169
2 жыл бұрын
Hi all... i have small doubt for the below object...how to find key and value both ("second " : 2) in the below object..please i need your solutions const iem = { "first" : new Date(), "second" : 2, "third" : "test" }
@abhishekvishwakarma9045
2 жыл бұрын
Nice Explanation 🔥
@SalmanKhan-lx9kp
2 жыл бұрын
waiting 🔥
@shiva_krishna_rama
Жыл бұрын
Last Que's Answer is not perfectly correct ... operator make shallow copy and JSON.stringify can't mentain order
@AbhishekKumar-yh6yx
5 ай бұрын
The last way of cloning an object is to spread the object not destructure it correctly. Can you please correct me .
@RoadsideCoder
5 ай бұрын
nope, its to use structuredClone() method
@XRWASIFLive
2 жыл бұрын
seem to be possible or straight forward.
@ஸ்டாலின்தான்வ
2 жыл бұрын
Please upload new react 18
@subhasish_vines
5 ай бұрын
Please bolne ka speed Thora Kam kijiye, samajh ne me thoda asani hoga, itna fast bolrehe ho, kuch vi samajh me nehi araha hain please 😊
@RoadsideCoder
5 ай бұрын
bhai aap video a speed 0.75x pe krke try kro, better experience hoga
@ajitshaw1936
2 жыл бұрын
+1
@Alex-hr2df
8 ай бұрын
This is why I HATE JavaScript. It's the only language where you need master its STUPIDITY and FAULTS to pass a job interview 🤦♂
@RoadsideCoder
8 ай бұрын
Its ok bro, high salary is difficult to get.
@Alex-hr2df
8 ай бұрын
@@RoadsideCoder Or rather get the high salary using different techs and languages.
@vivekpaanchal
2 жыл бұрын
Instagram msg bhi check kar lo bhai
@ashuprakash6697
2 жыл бұрын
Can you provide a link or something related to property you discussed at timestamp 22:32, where you set person to null? It would be really helpful.
@sagarpatel8853
27 күн бұрын
Great job.but Object.assign, stringifying then parsing and spreading are not the correct way to create a deep copy of an object. because out of these three methods some are not compatible for nested objects and some are not compatible for functions and Dates inside the objects. In order to create a deep copy of an object we gotta install a third party library called lodash, which has got a functionality Clonedeep, which can help us in this.
@rajathmr4171
3 ай бұрын
Hey I was watching this tutorial for interview prep, got one doubt this cloning objects with different ways have its own limitiation. Most common is method is not preserved and also complex entities like Set, Map, Regex. loadhash would simpilfy this but how we can do this without using external library is there any Polyfills to it?
@RahulKumar-ew1qw
2 жыл бұрын
Please make vdo on local storages, session, cookies And cache too.. Thanks you bro in advance.
@shakeelahmed-wv8oh
2 ай бұрын
Can u explain more for the question at 26:03, it will be more helpful for people who are not able to understand the concept of referencing and return statement
@karthikeyasoft
Жыл бұрын
I have little bit confusion over changeAgeAndReference topic time 25:50 personObj1 how come age : 25
@sachinkr0405
2 жыл бұрын
problems and than volu automate the boi cuz I didn’t know how to sidechain. My one buddy produces riddim and he legit saw my daw
@k.ksharma4457
2 жыл бұрын
great explanation as always u do 👍 and yes ye dil mange more 😀 so plz post a video based on local storage cookies and sessions deeply
@jaydadhaniya2209
8 ай бұрын
Object.assign will create shallow copy not the deep copy if we have nested objects please kindly note this
@BrijeshSingh-dp1ku
2 жыл бұрын
Please make video on local storage, session storage and cookies ... It will be great help 🙏
@akash_gupta_2090
Жыл бұрын
why my nums object is changing can we return new. object without changing nums value ?? let nums = { a: 100, b: 200, title: "My nums", }; function multiplyByTwo(obj) { for (let key in obj) { if (!isNaN(obj[key])) { obj[key] *= 2; } } return obj; } multiplyByTwo(nums);
@akash_gupta_2090
Жыл бұрын
let nums = { a: 100, b: 200, title: "My nums", }; function multiplyByTwo(obj) { let newObj = Object.assign({}, obj); for (let key in newObj) { if (!isNaN(newObj[key])) { newObj[key] *= 2; } } return newObj; } console.log(multiplyByTwo(nums)); console.log("My Nums", nums);
@fewminuteswithabhi2482
9 ай бұрын
hi ,,Piyush.. you put great effort for the javascript developers comunity, but you give the example of deep copy of an object is wrong, you just copy the shallow copy of an object, i hope you finds it well and should correct this. And once again i really say thanks for the this type of content;👌👌👍👍
@RoadsideCoder
9 ай бұрын
You can use structuredClone() method to make a deep copy.
@pratikwadekar4981
2 жыл бұрын
JSON.stringify and JSON.parse will only work on JSON safe objects. If the objects contain functions, symbols or dates that won’t create a deep clone
@sanjaytk
Ай бұрын
Road side paani-puri always awesome like Road side Coding... 🤟🤟😃😃
@santhoshburgula6952
2 жыл бұрын
Bro, I have gone through some videos, you are simply rocking and just you inspired me a lot. what should I do to pro in javascript like you ? is there any best book for javascript and as well as practice problems? please refer to any suggestions and root map. by the by, im from Non-IT background.
@shivambln
9 ай бұрын
Great but some object methods are missing ..... Like freeze and all
@bandaumamahesh9346
7 ай бұрын
Bro can you please tell me some good books for javascript and react.
@Kalllyyy18
2 жыл бұрын
sick of it!! !!!! anybody got any tips to help?? close on throwing my laptop out the window! got the Full package on soft feel its a waste of
@RoadsideCoder
2 жыл бұрын
What's wrong?
@malag6358
10 күн бұрын
Thank You Soo Much I learnt Many Things
@emilyaung2963
2 жыл бұрын
Hey wouldn't Object.assign({} , user) and the spread operator do shallow copy? vs the JSON.stringify and parse will do deep copy?
@deepakkolare
2 жыл бұрын
Object.assign and spread are shallow copy for nested object for direct properties it’s a deep copy.
@RoadsideCoder
2 жыл бұрын
Yes I've mentioned that this doesn't work for nested properties.
@abhishekkerketta9722
2 жыл бұрын
Please make a series of output based....It would really be very helpful.....
@art.with.yashuu
2 жыл бұрын
I'm brazilian, my english is not good at all, but I understood
@sanamukhtar4008
4 ай бұрын
thank you
@ajmalansari3165
4 ай бұрын
Yes make a video on local storage, session storage and cookies etc.
@lucaliebenberg7565
Жыл бұрын
Great video Piyush 💯 would you be able to please do a video on interview questions related to local storage, sessions and cookies?
@divyasampath2843
Жыл бұрын
I did not get this part, if someone can help: Since we are assigning obj1 to obj2, ideally whatever is the value is set to obj1 should be the same for obj2, right? as in, for both, the name should by 'pi', and age 7, isnt it? function change(obj) { obj.name = 'pi', obj = { name: 'hena', age:9, } return obj; } var obj1 = { name: 'div', age: 7, } const obj2 = change(obj1); console.log(obj1); console.log(obj2);
@kedarkulkarni0074
2 жыл бұрын
Bhai please problem solving ka bhi , sirf list of problems Jo usually FE me puchte hai.
@RoadsideCoder
2 жыл бұрын
Yes I have planned that too
@HimanshuSharma-mx7yx
Жыл бұрын
Make a video on the loacal Storage, cookies and session storage
I really like the video!!!! But why do you ask to watch a different video explaining simple things. You can give the basic context and ask to watch the other video for complete understanding if marketing is more important. I personally felt this.
@kanchanmatai4170
5 ай бұрын
Very nicely explained about json.parse and json.stringify with their use case. Please make more such videos on intserview questions based on output and coding.
@abcxyz5385
Жыл бұрын
Sir, please make video on session storage and local storage
@sanamukhtar4008
4 ай бұрын
3:00
@avinash15sharma
Жыл бұрын
How we can compare two objects with same key-value pair but in different order? Also we are not allowed to use Lodash. Only Javascript solution.
@shahzoobgouhar2334
Жыл бұрын
Fellow devs below is a Polyfill for deep copy function deepCopy(obj) { if (typeof obj !== 'object' || obj === null) { return obj; } var copy; if (Array.isArray(obj)) { copy = []; } else { copy = {}; } for(key in obj) { copy[key] = deepCopy(obj[key]) } return copy; }
@SamruddhaShah
2 жыл бұрын
Why don't invinite amazon frontend engineeer for interview experience, we will learn alot
@RoadsideCoder
2 жыл бұрын
Good idea
@20TUEC012ATHILAKSHMI.M
5 ай бұрын
kindly make video on localStorage session
@rohitahuja999
2 жыл бұрын
why don't you use node js and run js code in terminal
@100bi8
Жыл бұрын
bhaiya who is Lydia i think Lydia is your crush 😅♥
@ranajoyghosh1008
2 жыл бұрын
You guys should consider getting Caustic 3, it helped understand the basics I tNice tutorialnk it´s even free for PC, on the phone it costs a little.
@rahulrathod8959
2 жыл бұрын
Hi. But we can't reassign to a constant variable. As personObj1 is constant variable then why it is able to reassign in the function changeAgeandName?
@sunilr.v.6345
2 жыл бұрын
how well you have explained such complex topics ... great work ....keep it up ..!!!!
@RoadsideCoder
2 жыл бұрын
Thank you, I will
@PratickChakraborty-f7o
11 ай бұрын
make video on local storage and session storage
@adnantariq3346
Жыл бұрын
5:38 Trying to loop through an object will NOT work in react. it will give "'key' is not defined"
@jhaganb9215
2 жыл бұрын
Can you make videos related to dsa using JavaScript for the dsa round in frontend interviews - also give some idea about how to get frontend internship opportunity while in college. hoping for your reply :)
@CybernaticoByNishant
2 жыл бұрын
I like your microphone. Can you give me ?
@RoadsideCoder
2 жыл бұрын
Sure, send me ur address 🤓
@ShubhamPatil-rr4on
2 жыл бұрын
Read it.....👉 Most welcome brother,lot of people watching you , yesterday I watched technical suneja live and thaire one of the people tell to Ajay sir that's I'm watching roadside coder js videos.and Ajay sir also appreciate it.💯♥️👍 Keep it up
@RoadsideCoder
2 жыл бұрын
Oh wow bro, can u provide me the timestamp of that video where he said that?
@BrijeshSingh-dp1ku
2 жыл бұрын
@@RoadsideCoder 32.25
@ShubhamPatil-rr4on
2 жыл бұрын
32:25 Yesterday I shared you timestamp but I don't know how it will didn't upload. Can we connect on LinkedIn I have some few queries if you help me out it will lot toe.
@RoadsideCoder
2 жыл бұрын
@@ShubhamPatil-rr4on Sure
@keshavgaur1886
2 жыл бұрын
I have been asked about how to print keys i was knowing the concept of foreign loop but don't know what happened during the interview was not able to tell that
@sanketthakre7375
4 ай бұрын
Brother please be quite slow. You are way too fast.
@RoadsideCoder
4 ай бұрын
you can change the speed of the video to 0.75x
@ashwani6527
2 жыл бұрын
Excellent but your pace is fast
@instinct_gallant8694
2 жыл бұрын
TNice tutorials tutorial was worth it, I understood everytNice tutorialng now
@ayushrastogi_
11 ай бұрын
Please create a video on interview questions asked about Local Storage and Sessions Storage.
@ShreyaskarART
22 күн бұрын
Quite helpful !
@rakaa31
2 жыл бұрын
please make a video on How much javascript is enough for interviews and what are the important topics to focus on for interviews
@waez2120
Жыл бұрын
Didnt understand 13th solution
@juniorWeb247
Жыл бұрын
Really really help to me, thank you much brother. You are really doing a good job. God bless you, man.
@user121304
Жыл бұрын
Hi Piyush, Thank you for this wonderful series. Please make a tutorial on LocalStorage, Session storage and cookies. Will appreciate it. Thanks!!!
@umairahmedofficial1
2 жыл бұрын
Sath sath JSON bhi bata dete...
@nishantshah_
2 жыл бұрын
Object.assign and destructuring creates shallow copy only.
@atulraj219
8 ай бұрын
Bro is obsessed with 69 😂
@codictive
2 жыл бұрын
pls make video on storage
@ComonManYT
2 жыл бұрын
This video was so life changing, keep up the good work
@princeverma6533
2 жыл бұрын
Great Video, Please make video on cookie, session and local storage with examples
Пікірлер: 183