Q1. Difference between let, var and const.
Q2. // Get output 1,2 without using let.
for(var i=0; i
You got deep knowledge in JS. Awesome man
I would appreciate the interviewer too for asking real world practical questions which is oftenly faced in development, simultaneously testing the thought process and the problem solving approach.
I have around 2.5 years of experience in MERN stack
Recently I started giving interview
interview questions
1)what is web workers
2)what is aws-node js architecture
3)explain microservices in node js? Have you ever used?
4) custom hook( I wrote custom hook with long polling concept)
5)middleware in backend?
Problems
1)leap year with out using inbuilt function
2)remove duplicates and sort an array without using in built
Even answering all I got rejected 😢 because I didn't have any experience on payment methods like razor pay implement or pay tm implementation
Depends on the company.
It doesn't mean what you are doing is wrong but company need specifically that person who has worked with payment methods
one can basically evaluate their knowledge in JS with this interview , this was super helpful thank you.
This video has helped me a lot practicing my JS questions, by the way they did not ask much JS and asked only angular. This channel's angular videos specially the cognizant interview was very sharp and gave me resolution on how to study and what to study, watched nearly every videos here and the interviewer has very sharp concept clearance. Gave me a boost in my confidence to sit and be confident while answering.
The main thing while the interview was happening is, I was asked nearly everything from CSS, SCSS, Angular and git.
Git was nicely answered, but angular questions was half repeated from the cognizant interview video and globant video.
Thank You pawan, for helping me and giving me the confidence I wanted to excel the interview.
I cleared my first round successfully, and preparing for the next round.
Thanks!! Again !!
@@atifasadkhan yes, but my ask was too high & non negotiable...and they wanted someone cheaper and they can go with someone weaker but not costlier coz i only had one year of experience that time & asked 11 lpa total of my that time's current 120% hike.
Last question for protect route we can use react context api, redux for storing user authentication and then redirect through the usenavigate hook otherwise redirect to login page.
How to manage nested routes terms of role based routing?
In session we store token of user which will get us role of logged in user through API. We can store this role in context or redux state and then by the help of selector we can get access value from state and add route only if user has the access to that particular page
ex: {hasAccess && }
let also going to be hoisted but it will not be attached to the global window, it will be in the separate script block inside the developer tool and for the temporal dead zone ...........? can anyone elaborate on the separate script block
Nice
How to get a job in frontend developer as a fresher and how to applay for job please make a video ...
IT WAS OK INTERVIEW NEITHER TOUGH NOR EASY
♥♥
hi.. thanks for sharing.. btw have you got selected?
Had a quick question,what was exactly the question for getting output 1,2 without using let?
I think without using setTimeout also by only using var it would have given the same output as 1 2
Please let me know if i missed anything
Hi Nikhil,
the question is for how you know event loop and how setTimeout works and when it will execute,
without setTimeout this question not makes sense,
Please try to create multiple scenarios for such question it will help you in your interview process
Can you tel me the intro song please..
What about the further rounds , is it the only technical or other technicals were there as well
@@uidevguide thank you so much for replying so frequently, any tips for a fresher front end dev, like how to get calls and make my resume attractive.
map and filter return new array, so it won't affect the original array even if we change the result of them. How come mutability and immutability here?
Javascript coding interview questions #codinginterviewquestions @uidevguide
Interviews I attend: "Here you have 3 tasks for data structure and algorithms , complete them in 1 hour while I'm watching. Let's start with those easy graphs, tries and will proceed with design-patterns-related practical task".
This is for mid-level developer ))
Pure component he said it wrong. He actually told about HOC.
What's ur interview result?
Hi bro package?
how is the interviewer following you fast answer... he will simply be freezed... though i know this is edited version and no screen prompting
I dont understand between map vs filter..both are creating new array then what is the difference between these..
Map: returns an array of pieces of information from the original array. In the callback function, return the data you wish to be part of the new array.
Filter: returns a subset of the original array based on custom criteria.
anyone here to contribute more
Bro const is not blocked scop it is a global scope but can not re assignment where var is also a global but be re assignment. Whether let is a blocked scope with the function of re assignment.
@@codingwalebhaiya9879 are theory pad k gyan mat pel. Es6 me const ko globally use kia ja sakta hain.
@@indiancuriousvoice8773 hey buddy it depends on where you create your const variable .
If you are creating in any block then it will be accessible in block only so in that case it wil be block scope variable
5+ Years
more interviews in react please
czcams.com/play/PLAgJNt0flqKfrqKQaW2_Hq780MMMseEgW.html&si=f5tH_-ar0rsm4g2k
I checked in console and 3-"33" returns -30. Interviewer playing with you?
it s harder to listen your accent then the code
Share your Resume if you want to have mock interviews with us,
uidevguide@gmail.com,
If you need any other help,
topmate.io/dashboard/services/video
good in javascript but not that good in react
Very basic questions for 7 years exp
Hi Vaibhav, well said, even I was curious to know how those questions would be for 6-7+ exp
can you give a brief concepts or ways those questions should have been, in you point of view
@@primeprocrastinator5175 looks like you're tracking his moves.. Lol, just kidding .🙂.haha
Allow me to take your interview. IF U answer any five questions out of 50 . I will give you 50k.
How much ctc did they offer you?
@@uidevguide I am little bit confusing between frontend and backend. Which one I have to choose if I want a high salary. I have 1 year experience so I am confused which is better for me.
"Does this question, which feels more suited to a fresher interview, seem appropriate for candidates with 5+ years of experience? It might be perceived as too basic for seasoned professionals."
Experience?
I'm also MERN stack dev. Have taken plenty of interviews also. This is a pretty good interview standard I found. Did you clear this round?
Hi , I have a doubt in shallow copy answer. Shallow means if we do any change in obj1 it will reflect new obj.Right?.
You said shallow copy 1. const obj2 = obj1[normal way] 2) Spread Operator 3) Object.assign these are ike shallow copy.
But by using Spread Operator, I tried please correct me if am wrong.
const emp1={
eid: "E102",
ename: "Jack",
eaddress: "New York",
}
const emp3 = {...emp1};
emp3.eaddress = "US";
console.log(emp1); //o/p:{eid: 'E102', ename: 'ashu', eaddress: 'New York'}
console.log(emp3); //o/p:{eid: 'E102', ename: 'ashu', eaddress: 'US'}
emp1.eid = "E108";
console.log(emp1); //o/p:{eid: 'E108', ename: 'ashu', eaddress: 'New York'}
console.log(emp3);//o/p:{eid: 'E102', ename: 'ashu', eaddress: 'US'}
please explain?
Private routes
Bro after listening to you, it feels like you understand every topic clearly before implementing them in code, great 👍