1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <script> function square(num1,num2){ function squares(x){ return x*x; } return squares(num1)+squares(num2); }; console.log(square(3,6));
</script> </body> </html>
|