What will be the output of the below

<html>
<head>
<title>Our First Program Using ReactJS</title>
<script src="build/react.js"></script>
<script src="build/react-dom.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.23/browser.min.js"></script>
</head>
<body>
<div id="mainContainer"></div>
<script type="text/babel">
ReactDOM.render(
<h1>Message from RNA Team - "Welcome to ReactJS World"</h1>,
document.getElementById('mainContainer')
);
</script>
</body>
</html>

 Posted by Rajnilari2015 on 12/6/2015 | Category: JavaScript Interview questions | Views: 405 | Points: 40
Select from following answers:
  1. Message from RNA Team - "Welcome to ReactJS World"
  2. Won't even compile
  3. Message from RNA Team - Welcome to ReactJS World
  4. I don't know
  5. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response