2.5 Years Experienced Best JavaScript Interview

Поделиться
HTML-код
  • Опубликовано: 18 апр 2024
  • The Complete JavaScript Course: • The Complete JavaScrip...
    Complete Frontend Course: • Web Development Course...
    The Complete React Course: • The Complete React Cou...
    The Complete CSS Course: • Getting Started with C...
    Redux Full Course in Hindi: • Redux Fundamentals in ...
    Avinash LinkedIn: / avinash0705
    Social Media
    🌐 Telegram: t.me/procodrr
    🌐 Linkedin: / anuragsinghbam
    🌐 Instagram: / procodrr
    🌐 Twitter: / anuragsinghbam
    🌐 Portfolio: anuragsinghbam.com/
    #react #procodrr #webdevelopment #mockinterviews #frontendinterview #javascriptinterview

Комментарии • 160

  • @JoshLearningFrontend
    @JoshLearningFrontend Месяц назад +45

    I have never seen a better JavaScript interview than that.

  • @Roman-ud5ph
    @Roman-ud5ph 29 дней назад +8

    defer attribute : downloads the script file asynchronous but will run it after all our dom html and css are loaded.
    async attribute : is also downloaded asynchronous but will immediately run after it is downloaded, even though our html css file are not loaded , which can cause errors!!
    So, many developers or most of the time we use defer attribute like inside head tag❤
    Sir, I have filled the for, it’s been months but still i haven’t gotten the mail for an interview

  • @Aerotk
    @Aerotk Месяц назад +17

    Couldn't be more better. I have learned a lot from this interview. Please upload more interviews like this in future!

  • @arjunprajapatt
    @arjunprajapatt Месяц назад +14

    literraly brother you just nailed it. I could not think even how to do it. btw your googling skill is also good as you can understand it by seeing the examples I can not do it.

  • @Shivasai21
    @Shivasai21 Месяц назад +11

    This was the best interview i have ever seen , sir please do this kind interviews .Like if ur taking interview for fresher u can also add some extra questions like this it will be helpful for us.

  • @ganessh156
    @ganessh156 Месяц назад +5

    always learn something new - yes we can use await outside async function defining by type='module' in a script file

  • @PraNihaal
    @PraNihaal Месяц назад +7

    Must watch interview.. we are expecting these kind of interviews

  • @gautamkhatri7895
    @gautamkhatri7895 Месяц назад +4

    Sir we need more such types of videos, this video is goldmine for many of us.
    thnakyou very very much :)

  • @ashishmadan5700
    @ashishmadan5700 10 дней назад +1

    Finally, got something different! Just finding this information - Thanks for this informative content. Learnt something new !! ❤

  • @amdadullahraihan7694
    @amdadullahraihan7694 Месяц назад +4

    This was the most interesting interview on your channel, sir.

  • @curiousgkc2879
    @curiousgkc2879 4 дня назад

    Thank you for these amazing videos... I have tried both output based question of promise and the machine coding circles problem and I got it and solved somewhat in easy way before watching the solution. It feels good😊... I'm a fresher preparing for frontend interview.
    May be idk how I'll perform in pressure.

  • @user-ey9sg4uu5w
    @user-ey9sg4uu5w 13 дней назад +3

    Everything is perfect. But only one suggestion, before start interview pls remove cursor of your PC from the candidate. because sometimes it's really annoying.

  • @prakharomer7745
    @prakharomer7745 23 дня назад +2

    Its fabulous never seen such interview. 🎉

  • @NikhilPatel-bq7ck
    @NikhilPatel-bq7ck Месяц назад +6

    Good Candidate, interactive + pushing him self towards solving problems taking baby steps to reach closer to expected output which is good.

  • @faizalkhan2437
    @faizalkhan2437 Месяц назад +3

    I heared the question, I was going in shocked but bro you nailed it... And I have learn something it is valuable video....

  • @ritik3514
    @ritik3514 Месяц назад +1

    great video this video make me confident that i know answer to some questions it was a great way to learn and brush up my skills

  • @vamshikrishna6001
    @vamshikrishna6001 26 дней назад +1

    Need more questions and answers on js and react.js, with real-time coding questions as in interview, great video! 👍anurag🙏

  • @badalhalder-mx5nv
    @badalhalder-mx5nv 27 дней назад +2

    I first time introduced like replaceable and non-replaceable inline element...thanks a lot and I think you are a genius person..I am from bangladesh

  • @anujeetswain7368
    @anujeetswain7368 Месяц назад +1

    Machine code was a good question. I tried it and it was easy for me. Great confidence boost.! For an engineer, math should be easy

  • @ratikrishnamoharana
    @ratikrishnamoharana 20 дней назад +2

    Randomly found and love this kind of videos 💥🔥 OP

  • @DebayanMukherjee-wo2ul
    @DebayanMukherjee-wo2ul Месяц назад +44

    I found only two interviews interesting.......one is ankit Tripathi one......and now another this one

    • @procodrr
      @procodrr  Месяц назад +7

      ruclips.net/video/MPY-SU1VzRI/видео.html
      You will like this one as well.

    • @DeepakVerma-xl9wx
      @DeepakVerma-xl9wx Месяц назад

      @@procodrr I saw this but screen was smaller so not able to got much

    • @jayshah4456
      @jayshah4456 Месяц назад +2

      can you please share that ankit tripathi interview video link

  • @user-mi7wz1me1m
    @user-mi7wz1me1m Месяц назад +1

    If we return setTimeout(.... , 10k) inside of that async func.
    Won't it will be in pending state for 10 second?

  • @atulverma_up45
    @atulverma_up45 21 день назад +4

    one of the top notch problem and bro nailed it.

  • @user-nz2ew3cl7v
    @user-nz2ew3cl7v Месяц назад +2

    one of the best interview i have ever seen, Very helpful

  • @mijana961
    @mijana961 Месяц назад +9

    This guy is pro
    Now i know so much❤

  • @matifiordelli3886
    @matifiordelli3886 Месяц назад +1

    it was an super excellent interview, I coded at the same time as you. it is a pleasure to learn and remember knowledge this way!😊

  • @forstudycode6146
    @forstudycode6146 Месяц назад +5

    Thanx for the nice mind broggling questions. It took me 2 to 3 h to code the machine coding question. But I am very happy that I have coded it successfully without any help.😊

    • @forstudycode6146
      @forstudycode6146 Месяц назад +1

      I have solved similar question in leetcode regarding 2d matrix

  • @_ByteBuddy
    @_ByteBuddy Месяц назад +1

    32:42
    const btn=document.querySelector("button");
    let getdata=()=>{
    return new Promise((res,rej)=>{
    btn.addEventListener("click",()=>{
    res("button is clicked");
    })
    })
    }
    btn.addEventListener("click",()=>{getdata().then((res)=>{
    console.log(res);
    })})
    //Is it correct

  • @prashantdixit4925
    @prashantdixit4925 Месяц назад +3

    29:40 , another way to resolve promise only when the button is clicked..
    let res1;
    const pr=new Promise((res,rej)=>{
    res1=res;
    })

    document.querySelector('button').addEventListener('click',(e)=>{
    res1('resolved successfully');
    console.log(pr);
    })

    • @Tech-NOOB
      @Tech-NOOB Месяц назад

      What is happening inside the promised call back function How the res1=res working ?

    • @ambrishdubey2241
      @ambrishdubey2241 Месяц назад

      ​@@Tech-NOOB
      let res1; //res1 = undefined
      res1 = res = undefined = truthy value
      Hence the promise is resolved.
      Mere khayal se res1 = res means the parameter which is res i.e resolve in full form is having an undefined value from the let variable res1. Eve though res1 is undefined but it still exists hence resolve from the call back function (res,rej) becomes true and hence the event listener will successfully resolve the promise since the promise is resolved via res1 = undefined = res (i.e resolve).
      He should have given res1 = 1 or any value instead because assigning any variable value is undefined is a bad practice.
      I hope you find this answer helpful, if I'm making a mistake then anyone can ask me and let me know.

  • @vivekvirmani8645
    @vivekvirmani8645 Месяц назад +3

    Very helpful 👌

  • @narutodihargo
    @narutodihargo Месяц назад +1

    Great great initiative bhaiya

  • @bhuvaneshkadur9758
    @bhuvaneshkadur9758 Месяц назад

    sir please make a video of understanding the dom in-depth as he used those e.clientx something like that , and also debugging video , its my kind request

  • @randomtech5929
    @randomtech5929 Месяц назад +1

    watch chai aur code backend series . and this video was amazing , I really liked it

  • @user-rx5qq8rb1q
    @user-rx5qq8rb1q 28 дней назад

    This is awesome bro ❤

  • @ravishbisht502
    @ravishbisht502 Месяц назад +2

    Sir this is what i was looking for. Ese hi laya kro videos

    • @procodrr
      @procodrr  Месяц назад +3

      Thanks, lekin sabhi log aise nahi hote hain.

    • @ravishbisht502
      @ravishbisht502 Месяц назад

      @@procodrr mera b le lo sir ek interview 😉🥰

  • @phoenixgaming3045
    @phoenixgaming3045 Месяц назад

    Great interview 😍. Hello Anurag sir, why google form is not accepting anymore responses?
    i want to have an interview with you.

  • @ianski9898
    @ianski9898 18 дней назад +1

    Why some of interviewers doesnt ask interview like this, but they ask what you do in your previous work? Any thoughts?

  • @adityabarve2373
    @adityabarve2373 Месяц назад

    Is this correct solution for promise in react ?
    JS:
    const pendingPromise = (param) => {
    return new Promise((res) => {
    if (param) {
    res("Button clicked , Promise resolved");
    }
    });
    };
    const resolveOnclick = () => {
    pendingPromise(true)?.then((res) => {
    console.log(pendingPromise(true), res);
    });
    };
    JSX :
    Resolve Promise

  • @riteshkamblefanclub5747
    @riteshkamblefanclub5747 Месяц назад +2

    sir aap plz package mention kijiye ki isko kitna milega interview ke baad plz

  • @a32abhishekpurohit20
    @a32abhishekpurohit20 Месяц назад +1

    Instead of taking it as hypotenuse, you have to find shortest distance to between circles, compare it with the sum of both circles radii, if shortest distance is less than equal to sum of radii its intersecting, else not

    • @procodrr
      @procodrr  Месяц назад

      And how will you find the shortest distance?

    • @a32abhishekpurohit20
      @a32abhishekpurohit20 Месяц назад

      @@procodrr const distance = Math.sqrt(deltaX*deltaX + deltaY*deltaY)
      where deltaX and deltaY are mode of substraction of x,y co-oridnates. Also hypo is made of this formula.

  • @Tribalchief69690
    @Tribalchief69690 Месяц назад +6

    Interviewer himself doesn't know how to deliver a smooth conversation

  • @FAHEEMKHAN11332
    @FAHEEMKHAN11332 Месяц назад +1

    SIR I SUBMITTED THE GOOGLE FORM FOR HTML SIR NOW WHAT IA CAN DO PLEASE TELL ME

  • @BeastGuru52
    @BeastGuru52 Месяц назад +1

    SR MOCK INTERVIEW KAY FORMS KYON BND HAIN

  • @todaysindia4114
    @todaysindia4114 12 дней назад

    Outstanding 😍

  • @DevGenius1
    @DevGenius1 Месяц назад +1

    sir why can't we fill the form now

  • @anubhav5709
    @anubhav5709 Месяц назад

    Great interview

  • @danum7182
    @danum7182 Месяц назад +1

    For what package this interview?

  • @itube_com
    @itube_com Месяц назад +2

    One of the best teachers on RUclips❤❤❤

  • @gauravparasar4571
    @gauravparasar4571 Месяц назад +1

    Bhiya freshers se puch sakte h kya is level ka?

  • @tejaspatel3680
    @tejaspatel3680 Месяц назад

    Sir how can i apply if i want to be on this interview series??
    Please let me know i really want to test my knowledge

  • @Hidden_name1
    @Hidden_name1 Месяц назад

    Sir why can't we are able to fill form.please respond

  • @nileshkumarkushwaha2801
    @nileshkumarkushwaha2801 7 дней назад +1

    Interesting and best

  • @shyam_soniyar
    @shyam_soniyar Месяц назад +2

    Dear sir , how can I attend your Sunday QnA . ❤😊

  • @AshmitSinha-zp6ne
    @AshmitSinha-zp6ne День назад

    Sir aap so ke uth ke interview lete ho kya

  • @Tarunkumar_Gatla
    @Tarunkumar_Gatla 10 дней назад

    What is the verdict of the interview?

  • @sunilchauhan1019
    @sunilchauhan1019 Месяц назад

    Sir kya English me interview Dena mandatory hai. Because I can explain better in Hindi.

  • @shoaibrehman1348
    @shoaibrehman1348 Месяц назад

    i am not able to submit the form for interview 😢😢

  • @lodhi_Sikander-12
    @lodhi_Sikander-12 15 дней назад

    Make on laravel?

  • @pranaykrmajee1432
    @pranaykrmajee1432 Месяц назад +1

    Here it is the simpler React version: Enjoy 😀
    import React, { useState } from 'react';
    const CircleIntersecting = () => {
    const [circles, setCircles] = useState([]);
    const handleScreenClick = (event) => {
    const x = event.clientX;
    const y = event.clientY;
    const radius = Math.floor(Math.random() * (200 - 50)) + 50;
    if (circles.length === 2) {
    setCircles([]);
    return;
    }
    const newCircle = { x, y, radius };
    setCircles([...circles, newCircle]);
    if (circles.length === 1) {
    const firstCircle = circles[0];
    const dist = Math.hypot(firstCircle.x - x, firstCircle.y - y);
    if (dist < firstCircle.radius + radius) {
    if (dist + radius

  • @abhishekraut1
    @abhishekraut1 Месяц назад

    Sir I also Want to give interview For front-end how am i able to do

  • @Vedant-M
    @Vedant-M Месяц назад

    Good to see Ankush Bahuguna getting into tech.

  • @rajdeepdey8248
    @rajdeepdey8248 Месяц назад +1

    Kindly give me an opportunity to sit for an interview. Pls take mine for Reactjs. I had filled the form but none cameback.

  • @mrlekhramsaini
    @mrlekhramsaini Месяц назад

    Sir muje etna English nahi aata hai kya mein hindi mein kar skta interview please help and reply this problem

  • @Vivek-gt4gm
    @Vivek-gt4gm 24 дня назад +1

    I am also starting Frontend Interview Preparation, with an amazing group where we discuss important questions in Zoom meetings regularly. if anyone who is really seriously wants to join let me know.(MERN with JavaScript)

  • @editorcd
    @editorcd Месяц назад +1

    Professionals web hosting par one video

  • @hawkxgaming1451
    @hawkxgaming1451 Месяц назад +4

    38:15 Sir I have successfully created a promise with pending state without using promise keyword
    Code -->
    async function createPromise() {
    return "promise is resolved";
    }
    console.log(createPromise().then((data) => console.log("data",data)));
    How works :-
    Async function always return a promise either we will return something or not and if we console the function then the return value be a promise with fulfilled state and we know that we can call then() method to a promise either it is fulfilled or not and here the concept come that every then() method return a promise with pending state. So that way I have successfully solved the question.

    • @procodrr
      @procodrr  Месяц назад +1

      Yes, that is 100% correct. That promise will be pending for a moment and it will resolve immediately. So yes it is technically correct but we can't control that promise's state.
      Thanks for providing this solution.

    • @hawkxgaming1451
      @hawkxgaming1451 Месяц назад

      @@procodrr yes sir

  • @Zak-tc4md
    @Zak-tc4md 19 дней назад +1

    can anyone mention the youtube channels that he mentioned?
    i know akshay saini and kevin powell. What was the third one?

    • @procodrr
      @procodrr  17 дней назад

      At what time it was mentioned?

  • @vk19148
    @vk19148 Месяц назад

    Please provide LinkedIn profile of the person who is Interviewed

  • @gagangowda4728
    @gagangowda4728 14 дней назад +4

    1:23:10 😂

  • @ershahidnabi
    @ershahidnabi Месяц назад

    Audio quality is not so good. Kindly improve the quality of audio so audience can stay till end of the video.
    Plz chk

  • @FalcoAMV
    @FalcoAMV Месяц назад

    whats the sallary

  • @makeyou_happymyh
    @makeyou_happymyh Месяц назад

    google form is not working

  •  22 дня назад +2

    23:54 : const button = document.getElementById('myButton');
    button.addEventListener('click', () => {
    const myPromise = new Promise((resolve, reject) => {
    setTimeout(() => {
    resolve('Promise resolved successfully!');
    }, 1000);
    });
    myPromise.then((result) => {
    console.log(result);
    }).catch((error) => {
    console.error('Promise rejected:', error);
    });
    });

  • @ANANDKUMAR-in3pc
    @ANANDKUMAR-in3pc 21 день назад +1

    With the help of your video and your RUclips channel, I cracked the interview.

    • @procodrr
      @procodrr  21 день назад +1

      Congratulations Anand 🎉
      I'm glad I was able to help you clear your interview. Keep learning and growing 😊

  • @user-tw5jz5dv9t
    @user-tw5jz5dv9t Месяц назад

    Sir node js or express js pe playlist ❤

  • @WEBDEVELOPMENT-iw6gf
    @WEBDEVELOPMENT-iw6gf Месяц назад +1

    wow very nice

  • @rahulbhatt5220
    @rahulbhatt5220 Месяц назад

    sir mere ko bhi interview ka mauka de do fresher hu baki jagah toh fresher ke liye 5 saal ka experience chahiye

  • @RakeshBhandari77
    @RakeshBhandari77 Месяц назад

    very nice

  • @kuldeepsinghrathore2327
    @kuldeepsinghrathore2327 Месяц назад +1

    17:45 javascript

  • @tejurudrakoti5751
    @tejurudrakoti5751 15 дней назад

    i need english tutorial in english can you please send

  • @himanshuarora1910
    @himanshuarora1910 Месяц назад

    i cant understand how things are going in module scope at 1:01:47 ,,,also cant find in ur videos

    • @procodrr
      @procodrr  Месяц назад

      ruclips.net/video/58_rdS5EVxU/видео.htmlsi=9q6kHppHsBRubJp0
      Watch this video on ES6 modules

  • @RakeshBhandari77
    @RakeshBhandari77 Месяц назад

    nice

  • @ScavengerYT9
    @ScavengerYT9 28 дней назад

    Selected in what ?

  • @Dev_Raj1
    @Dev_Raj1 Месяц назад

    Ooo 👍

  • @lyongamerz4043
    @lyongamerz4043 Месяц назад +1

    Bhai Aawaz ka Kuchh karo yaar

  • @8kedits909
    @8kedits909 Месяц назад +1

    55:04

  • @DevGenius1
    @DevGenius1 Месяц назад

    i am from Pakistan can i get interview.

  • @mdsayem8893
    @mdsayem8893 Месяц назад

    2.5 expi javascript developer don't know how to resolve a function when a button is clicked?

    • @me_Avinash_kr
      @me_Avinash_kr Месяц назад +4

      To answer your question, I knew that.
      For clarification I am still learning and sometimes I do mess up while answering to someone, but that's the process I think.
      And BTW "to resolve a promise*"
      Cheers!

    • @procodrr
      @procodrr  Месяц назад +2

      This happens to everyone. This is called a silly mistake. Don't focus on syntactical mistakes, focus on the thought process and problem-solving.

    • @pashukumar1724
      @pashukumar1724 Месяц назад

      bhaiya u r great.
      Impressive interview . I loved too mu​ch and learned a lot@@me_Avinash_kr

  • @priyadarshi5730
    @priyadarshi5730 7 дней назад

    ❤❤❤

  • @user-wo2lk9rz2v
    @user-wo2lk9rz2v 11 дней назад

    this is really a hard interview to me

  • @hardikgangani4474
    @hardikgangani4474 Месяц назад +1

    How to connect with Avinash? (the interviewee)

    • @procodrr
      @procodrr  Месяц назад +1

      I have added his LinkedIn profile link in the description. You can connect from there.

    • @hardikgangani4474
      @hardikgangani4474 Месяц назад +1

      Thanks 😊​@@procodrr

  • @ShubhamPatil-rr4on
    @ShubhamPatil-rr4on Месяц назад

    Can you tell us how much package he can expect. With this knowledge and experience....... Reply ❤

    • @procodrr
      @procodrr  Месяц назад

      15 LPA to 20 LPA

    • @ShubhamPatil-rr4on
      @ShubhamPatil-rr4on Месяц назад

      @@procodrr Thank you so much for your kind reply, please keep it up the great interview content.♥️ Love from pune

  • @shoaibahmad.siddiqui
    @shoaibahmad.siddiqui 17 дней назад +1

    The interviewer is more nervous than the interviewee. 😁

    • @procodrr
      @procodrr  15 дней назад +1

      Itna khatarnak interviewee hoga to interviewer ka nervous hona obvious hai 😀

  • @humaurbusiness2496
    @humaurbusiness2496 14 дней назад +1

    Please tell me bhai saheb what is hero section

    • @vivektiwari0279
      @vivektiwari0279 День назад

      Banner section, the section just after header

  • @shubhamsingh4701
    @shubhamsingh4701 Месяц назад +2

    This can be no way a 2.5 years experience interview 😳

    • @arjunprajapatt
      @arjunprajapatt Месяц назад

      Means it is good or bad, why? I'd like to know. Please

    • @IshanRohatgiyt
      @IshanRohatgiyt Месяц назад

      It can be as I have also 2.7 years of experience and I was able to give almost most of the answers for the questions he asked.

    • @shubhamjha2036
      @shubhamjha2036 Месяц назад

      ​@@IshanRohatgiyt how do you learnt web dev ????? And what was your college ?????

    • @IshanRohatgiyt
      @IshanRohatgiyt Месяц назад

      @@shubhamjha2036 I studied ECE from tier 3 college when I was in third year I wanted to implement something which I learn so out of curiosity I started learning web development using youtube I started with code with harry, and did one course on web design on coursera based on that and Programming which I studied for placement I cracked multiple jobs in MNCs and started my journey as developer since then I am continuously working and learning from resources available on internet.

  • @ChiragKr-pu4hf
    @ChiragKr-pu4hf Месяц назад +2

    sir pahli baar kush ho gye interview leke

    • @procodrr
      @procodrr  Месяц назад +3

      Sahi baat hai, itna khush to pahli baar hi hua hoon 😀😀

  • @PrakharGGautam
    @PrakharGGautam Месяц назад +5

    Sir aapko website bnvani h ? Me free of cost bna dunga abhi mujhe kuch projects ki jrurt h mere portfolio k liye

    • @mukulkumar5133
      @mukulkumar5133 Месяц назад +1

      mera banagoge website

    • @codeblood87
      @codeblood87 Месяц назад

      Mere liye bhi bana do. Website nahi banwana hai, application banwana hai

    • @user-we4rx6yo1b
      @user-we4rx6yo1b Месяц назад

      Brother i need a webiste i m from pakistan can you do it for me as a gift🥰

    • @codetech1.080
      @codetech1.080 Месяц назад +3

      Pakistan ko gift Dena band kr Diya hum logo ne..😂😂
      Don't take serious.. it's jokes apart

    • @shivamsharma-qv5pf
      @shivamsharma-qv5pf Месяц назад

      @@codetech1.080 😅😅

  • @manuzangid
    @manuzangid Месяц назад

    Nice interview but itna time nhi h 😂

  • @aamanali8564
    @aamanali8564 Месяц назад

    ary kuch samjh ma hi nahi a rah hindi ma bol bhai

  • @Raj_9507_
    @Raj_9507_ Месяц назад +2

    Man I am a loser 😭😭I can even answer basic HTML and css interview questions 😓😓