<html>
<body>
<h1>Arrow Function</h1>
<p>A demonstration of a simple arrow function.</p>
<p id="demo"></p>
<script>
hello = () => {
return "Hello World!";
}
document.getElementById("demo").innerHTML = hello();
</script>
</body>
<!-- Mirrored from www.w3schools.com/react/tryit.asp?filename=tryreact_es6_arrow1 by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:43:09 GMT -->
</html>