<html>
<body>
<h1>Arrow Function</h1>
<h2>Implicit Return</h2>
<p>The arrow function expects a return value, and returns the value by default, without the <strong>return</strong> keyword.</p>
<p id="demo"></p>
<script>
hello = () => "Hello World!";
document.getElementById("demo").innerHTML = hello();
</script>
</body>
<!-- Mirrored from www.w3schools.com/react/tryit.asp?filename=tryreact_es6_arrow2 by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:43:09 GMT -->
</html>