React JS Quiz Questions and Answers

Answer :
  • 7,1

Explanation :

The Object.assign() method is used to copy the properties and values of one object to another. Objects are assigned and copied by reference.
Answer :
  • FALSE

Explanation :

No, browsers can't understand JSX code. You need a transpiler to convert your JSX to regular Javascript that browsers can understand. 
Answer :
  • style={{fontSize:'12px',color:'red'}}

Explanation :

Inline styles in React should be specified in JSON format, with the keys following camelCase notation.
Answer :
  • Displays the list of languages in the array

Explanation :

map is just another method call on a collection. Works perfectly fine
Answer :
  • state & props

Explanation :

state and props are used to handle data in React.
Answer :
  • Virtual DOM

Explanation :

Correct
Answer :
  • component
Answer :
  • Internal storage of the component
Answer :
  • To create reusable components with shared functionality