Tricky javascript practical interview question and answer |

Поділитися
Вставка
  • Опубліковано 27 сер 2024
  • Tricky javascript practical interview question and answer | #FEDevInterview #jsinterview #jsshorts
    Are JavaScript interview questions a good idea?
    Is a JavaScript coding interview a bad experience?
    How do I become good at JavaScript?
    How to check if an object is an array in jQuery?
    javascript tricky interview question and answer,
    javascript tricky interview question pdf,
    javascript tricky interview question examples,
    javascript tricky interview question practice,
    interview question for engineers,
    interview questions and answers,
    news interview question,
    celebrity interview question,
    interview question interviewers,
    interview questions to ask,
    interview question call center,
    inappropriate interview question
    Your Queries:
    angular 8 interview questions and answers for experienced
    angular interview questions and answers pdf
    angular interview questions for 7 years experience
    angular interview questions for 2 years experience
    angular scenario based interview questions for experienced professionals
    angular coding questions and answers
    angular interview questions for 5 years experience
    angular interview questions and answers for freshers
    How do I prepare for an Angular interview?
    Why we use ng in Angular?
    What is component in Angular interview questions?
    What is dependency injection in Angular interview questions?
    angular 11 interview questions
    50 interview questions and answers
    job interview answers cheat sheet
    advanced angular interview questions
    angular material interview questions
    What are some of the most frequently asked Angular interview questions?
    How easy is it to learn and use Angular?
    What are some of the benefits of using Angular?
    What are some of the key features of Angular?
    angular interview questions and answers for experienced
    java angular interview questions and answers
    angular interview questions and answers pdf
    advanced angular interview questions and answers
    angular interview questions
    tcs angular interview questions and answers
    ngrx angular interview questions and answers

КОМЕНТАРІ • 10

  • @succeedwithuttam2271
    @succeedwithuttam2271 Рік тому

    Didn't understand the question 1 and 12. Could you please explain more about it.

    • @overPowerPenguin
      @overPowerPenguin Рік тому

      1. JavaScript converts the Array to a String:
      String([]) + String([])
      That means it concatenate two empty String primitives:
      "" + "" = ""
      12. As above, the concatenation operator converts both, the Array and Object to a String:
      String([]) + String({})
      Only that here this result in:
      "" + "[object Object]" = "[object Object]"
      So you concatenate an empty String with some other String.

    • @frontendInsights
      @frontendInsights  Рік тому

      Thanks for explanation

  • @princesstechideas
    @princesstechideas 2 місяці тому

    Nice 🙂 sir

  • @saikiran0311
    @saikiran0311 Місяць тому

    4th question return the object{message:"hello"}

  • @mayurchaudhari5947
    @mayurchaudhari5947 Рік тому

    Nice explanation..

  • @adishjain2507
    @adishjain2507 5 місяців тому

    typeof undefined == typeof null is false -> typeof undefined - 'undefined' typeof null - 'object', question 4output is also not correct function greet(){return {message:'Hello'};}
    undefined
    console.log(greet());
    output: {message: 'Hello'}