Angular Interview Questions 2024 | Angular & Javascript Interview Questions | Ui Dev Guide

Поделиться
HTML-код
  • Опубликовано: 19 янв 2025

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

  • @uidevguide
    @uidevguide  5 месяцев назад

    Get the early access to zero to hero cheat sheet for you next interview ✅✅
    topmate.io/ui_dev_guide/951823

  • @arunbharath-r8c
    @arunbharath-r8c 3 месяца назад

    why in the interview method chaining is said as currying

    • @uidevguide
      @uidevguide  3 месяца назад

      Bhai kabhi kabhi galti ho jati hai 😃

  • @vigneshg5708
    @vigneshg5708 7 месяцев назад +1

    For an angular developer, should he know about JavaScript as well ?

    • @uidevguide
      @uidevguide  7 месяцев назад

      Yes Vignesh.
      You have know about it

  • @anushadammalapati
    @anushadammalapati 4 месяца назад

    what is the 35th question

  • @RBX007
    @RBX007 8 месяцев назад

    Simply we can like this.
    const flattenArray = [];
    const toFlatten = (params) =>{
    for (let num of params) {
    if(Array.isArray(num)) {
    toFlatten(num)
    } else flattenArray.push(num);
    }
    }
    toFlatten(numArray);// Pass the array

    • @uidevguide
      @uidevguide  8 месяцев назад

      Hi Buddy can you check the code once,
      const flattenArray = [];
      const toFlatten = (params) =>{
      for (let num of params) {
      console.log(num)
      if(Array.isArray(num)) {
      toFlatten(num)
      } else flattenArray.push(num);
      }
      }
      console.log(toFlatten([1,2,[3,4,[5]]]))

    • @RBX007
      @RBX007 8 месяцев назад

      @@uidevguide Bro, toFlatten function is not returning any thing here. we don't have the return statement. just try to console.log(flattenArray). You will get expected output. But if function need to return just add return flattenArray statement after loop.
      const flattenArray = [];
      const toFlatten = (params) =>{
      for (let num of params) {
      if(Array.isArray(num)) {
      toFlatten(num)
      } else flattenArray.push(num);
      }
      return flattenArray
      }
      console.log('Print missing items', toFlatten([1,2,[3,4,[5]]]));
      May be you can have different approaches, it was just idea how we can achieve

  • @saurabhbarasiya4721
    @saurabhbarasiya4721 7 месяцев назад

    Can you provide thease questions it well so it will be better

  • @sumannayak7677
    @sumannayak7677 8 месяцев назад

    is he 10+ years exp?

    • @uidevguide
      @uidevguide  8 месяцев назад

      He is 8 years of experience