1 / 4
Computer Service
2 / 4
Networking Service
3 / 4
Web Development Service
4 / 4
Software Development Service
TNW - ICT Solutions
  • Home
  • Available Courses 
  • Available Services 
  • Website Samples 
  • Search Log In
  • Example 1
    
    <html>
    <head>
    <title>JS Constant</title>
    </head>
    <body>
    <p id = "demo"></p>
    <script>
    const x = (x, y) => x * y;
    document.getElementById("demo").innerHTML = x(8, 8);
    </script>
    </body>
    </html>
    
     
    
    Example 2
    
    <html>
    <head>
    <title>JS Constant</title>
    </head>
    <body>
    <p id = "demo"></p>
    <script>
    const x = (x, y, z) => (x + y + z);
    document.getElementById("demo").innerHTML = x (4, 5, 6);
    </script>
    </body>
    </html>