Advance ReactJS MCQ Interview Question’s & Answer’s Advance ReactJS 1 / 10 In ES6 – Which keyword is used to define a constant? var const let constant 2 / 10 In ES6 – let has a block scope. True False 3 / 10 In ES6 – let is the block scoped version of ____. const function var None of the above 4 / 10 Which is used to pass data to components from outside? Render with arguments props setState PropTypes 5 / 10 In ES6 – var has a function scope, not a block scope? True False 6 / 10 In ES6 – Which are the keywords to define variables? var let const All of the above 7 / 10 With an arrow function – this keyword represents _____. Content Header object Current object Child object 8 / 10 Which is the correct arrow function to add two numbers? add = (a,b) => a+b; add = (a,b) => return a+b; add = (a,b) => { return a+b;} Both A. and C. 9 / 10 Consider the below function – which is the correct syntax of arrow function? Msg = () => {return "Good Morning";} Msg = () => "Good Morning"; Both A. and B. None of the above 10 / 10 In ES6 – Why arrow functions are used? To access pointer variable To access variable of a class Both A. and B. Write shorter function syntax Your score isThe average score is 0% 0% Restart quiz