🔴 Get my Complete Frontend Interview Prep course - roadsidecoder.com/course-details
@chinmoyborah3762 жыл бұрын
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.
@prangshugogoi56242 жыл бұрын
Kindly make a video on interview questions on cookies , local storage & session storage … also to mention nice explanation on the topics , Thank you 🙏
@girishanavani86202 жыл бұрын
Great video! Also, a video on local storage, session storage, and Indexed DB with the use case would be a great one.
@ashishmadan57002 жыл бұрын
I didn't find such a great video on Internet !! Thanks, man for such amazing content❤️Keep posting such content !!
@DeepakSingh-eq8jl2 жыл бұрын
Yes, please make some more lectures on interview questions including session and local storage
@karthikkonathala30022 жыл бұрын
Yes, please make a video on differences between session storage, local storage and cookies when and how to use them
@hamid.mahmood962 жыл бұрын
Yes please make a video on local storage and session storage
@pratikwadekar49812 жыл бұрын
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
@sunilr.v.63452 жыл бұрын
how well you have explained such complex topics ... great work ....keep it up ..!!!!
@RoadsideCoder2 жыл бұрын
Thank you, I will
@tpadma74194 ай бұрын
100% interview preparation..........very very thankfull...waiting for more such videos.....
@RoadsideCoder4 ай бұрын
Checkout the full course here - roadsidecoder.com/course-details
@deepakkolare2 жыл бұрын
Great explanation! Object.freeze and Object.seal could have been added to the video.
@abhishekkerketta97222 жыл бұрын
Please make a series of output based....It would really be very helpful.....
@shash0_04 ай бұрын
Your content is highly underappreciated. Thanks for your work!
@RoadsideCoder4 ай бұрын
I appreciate that!
@BrijeshSingh-dp1ku2 жыл бұрын
Please make video on local storage, session storage and cookies ... It will be great help 🙏
@kmsnymisha46072 жыл бұрын
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
@RoadsideCoder2 жыл бұрын
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.
@k.ksharma44572 жыл бұрын
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
@RahulKumar-ew1qw2 жыл бұрын
Please make vdo on local storages, session, cookies And cache too.. Thanks you bro in advance.
@ashuprakash66972 жыл бұрын
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.
@makingeliteinfotech5305 Жыл бұрын
Thank piyush , I recommend your videos to everyone
@juniorWeb247 Жыл бұрын
Really really help to me, thank you much brother. You are really doing a good job. God bless you, man.
@santhoshburgula69522 жыл бұрын
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.
@abdelrahmanelsaadany892 Жыл бұрын
I didn't know this video existed! Thanks bro! Really grateful.
@asmitabiswas4422 ай бұрын
For me you are the live saver
@kanchanmatai41704 ай бұрын
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.
@ajmalansari31653 ай бұрын
Yes make a video on local storage, session storage and cookies etc.
@shakeelahmed-wv8ohАй бұрын
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
@floatingcloud5955 Жыл бұрын
2:27 fe = function expression You can assign a function() without 'function name' to a variable as value is called Function expression var a= function (){ }
@yaduvanshiNK Жыл бұрын
An IIFE (Immediately Invoked Function Expression) is a JavaScript function that runs as soon as it is defined.
@sanamukhtar40083 ай бұрын
thank you
@lucaliebenberg7565 Жыл бұрын
Great video Piyush 💯 would you be able to please do a video on interview questions related to local storage, sessions and cookies?
@instinct_gallant86942 жыл бұрын
TNice tutorials tutorial was worth it, I understood everytNice tutorialng now
@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.
@sanjaytk26 күн бұрын
Road side paani-puri always awesome like Road side Coding... 🤟🤟😃😃
@prabhneetsingh13 Жыл бұрын
This was such a great video, it cleared so many small small concepts of mine
@tamilselvans1472 жыл бұрын
Hi bro, nice session. Pls do a video for How to make api's very secure?.. what are the possibilities? Jwt, Refresh token, etc
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
@RoadsideCoder2 жыл бұрын
Oh wow bro, can u provide me the timestamp of that video where he said that?
@BrijeshSingh-dp1ku2 жыл бұрын
@@RoadsideCoder 32.25
@ShubhamPatil-rr4on2 жыл бұрын
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.
@RoadsideCoder2 жыл бұрын
@@ShubhamPatil-rr4on Sure
@avinashverma55382 жыл бұрын
awesome video, helps a lot to clear concepts about objects. Thanks
@smordefx76882 жыл бұрын
works great and without any problems
@svanaja331Ай бұрын
Doing great job
@rajathmr41712 ай бұрын
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?
@user121304 Жыл бұрын
Hi Piyush, Thank you for this wonderful series. Please make a tutorial on LocalStorage, Session storage and cookies. Will appreciate it. Thanks!!!
@rakaa312 жыл бұрын
please make a video on How much javascript is enough for interviews and what are the important topics to focus on for interviews
@abcxyz5385 Жыл бұрын
Sir, please make video on session storage and local storage
@ComonManYT2 жыл бұрын
This video was so life changing, keep up the good work
@srinivasak408710 ай бұрын
nice clear explanation , Thanks Sir!
@princeverma65332 жыл бұрын
Great Video, Please make video on cookie, session and local storage with examples
@xync12522 жыл бұрын
Portfolio making please
@emilyaung29632 жыл бұрын
Hey wouldn't Object.assign({} , user) and the spread operator do shallow copy? vs the JSON.stringify and parse will do deep copy?
@deepakkolare2 жыл бұрын
Object.assign and spread are shallow copy for nested object for direct properties it’s a deep copy.
@RoadsideCoder2 жыл бұрын
Yes I've mentioned that this doesn't work for nested properties.
@trendingindia9722 жыл бұрын
Excellent video as always brother thank you
@fewminuteswithabhi24828 ай бұрын
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;👌👌👍👍
@RoadsideCoder8 ай бұрын
You can use structuredClone() method to make a deep copy.
@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; }
@100bi8 Жыл бұрын
ThankYou Prabhu ❤❤
@jaydadhaniya22097 ай бұрын
Object.assign will create shallow copy not the deep copy if we have nested objects please kindly note this
@salonipande61902 жыл бұрын
Yes please make video on localstorage n session n cookies
@hareshdhanani20732 жыл бұрын
Thanks.
@himanshupandey3451 Жыл бұрын
great big fan now
@cloud9656 Жыл бұрын
Please create more videos for this playlist. Thanks
@subhramukherjee69902 жыл бұрын
Good questions with great explanation.
@RoadsideCoder2 жыл бұрын
Thanks a lot!
@prabhneetsingh13 Жыл бұрын
Kindly make a video on local storage, session storage and cookies
@HimanshuSharma-mx7yx Жыл бұрын
Make a video on the loacal Storage, cookies and session storage
@vijenderkumar30348 ай бұрын
Please make video on local and session storage and cookie
@SalmanKhan-lx9kp2 жыл бұрын
waiting 🔥
@ansarisuhail51274 ай бұрын
Such a great video🎉
@nishachapte72 жыл бұрын
Thanks..Amazing and very useful video.
@ayushrastogi_10 ай бұрын
Please create a video on interview questions asked about Local Storage and Sessions Storage.
@karthikeyasoft Жыл бұрын
I have little bit confusion over changeAgeAndReference topic time 25:50 personObj1 how come age : 25
@chirag82502 жыл бұрын
13:35 yes please!
@kumar_awadhesh2 жыл бұрын
Good job 👍👍 Thank you
@jhaganb9215 Жыл бұрын
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 :)
@MrK-nb7xr2 жыл бұрын
Please make on cookies , local storage, session related stuff every things .. Thanks
@VishalSharma-rn7mt9 ай бұрын
Awesome
@saikatbose24102 жыл бұрын
Please make the video on local storage, session storage, cache and cookies etc
@rahulrathod89592 жыл бұрын
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?
@amanmalhotra87307 ай бұрын
awesome ❤❤
@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.
@ajithk.s78482 жыл бұрын
Good and specific content.. 👌
@vipin39822 жыл бұрын
Bro!!!!!!!!!!!!!!!Awesome Video
@RoadsideCoder2 жыл бұрын
Thanks!!
@cb5592 жыл бұрын
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
@Yogi_3.O Жыл бұрын
You are gor for me.
@RoadsideCoder Жыл бұрын
Gor?
@pavithrasai13922 жыл бұрын
can you explain about cyclic structures and why we cannot apply json.stringify on them?
@20TUEC012ATHILAKSHMI.M4 ай бұрын
kindly make video on localStorage session
@abhishekvishwakarma90452 жыл бұрын
Nice Explanation 🔥
@JohnSnow-gi7iv2 жыл бұрын
Is a career in frontend a good long term option? I feel a career in full stack or backend is better in long term? Your opinion will be helpful on this.
@RoadsideCoder2 жыл бұрын
Yes ofcourse it is! Why would you think that?
@osamajune92 жыл бұрын
You are great ❤
@kedarkulkarni00742 жыл бұрын
Bhai please problem solving ka bhi , sirf list of problems Jo usually FE me puchte hai.
@RoadsideCoder2 жыл бұрын
Yes I have planned that too
@user-wq4hm4wr4r10 ай бұрын
make video on local storage and session storage
@ojaspalorkar7434 Жыл бұрын
Please make video on local storage session storage !!
@adnantariq3346 Жыл бұрын
5:38 Trying to loop through an object will NOT work in react. it will give "'key' is not defined"
@bandaumamahesh93465 ай бұрын
Bro can you please tell me some good books for javascript and react.
@codictive2 жыл бұрын
pls make video on storage
@rams91692 жыл бұрын
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" }
@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);
@SamruddhaShah2 жыл бұрын
Learn alot
@SamruddhaShah2 жыл бұрын
Why don't invinite amazon frontend engineeer for interview experience, we will learn alot
@RoadsideCoder2 жыл бұрын
Good idea
@shivambln8 ай бұрын
Great but some object methods are missing ..... Like freeze and all
@kartik77752 жыл бұрын
awesome videos, thank you!!!!!
@RoadsideCoder2 жыл бұрын
Welcome!
@shubhambhardwaj10192 жыл бұрын
Explanation 👌
@shiva_krishna_rama Жыл бұрын
Last Que's Answer is not perfectly correct ... operator make shallow copy and JSON.stringify can't mentain order