Guest User

Untitled

a guest
Nov 17th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width">
  6. <title>JS Bin</title>
  7. </head>
  8. <body>
  9.  
  10. <script id="jsbin-javascript">
  11. //write your answers below
  12.  
  13. function sayHello(name) {
  14. return ('Hello, ' + name);
  15. }
  16.  
  17. console.log(sayHello("Bill Jeffy"))
  18.  
  19. /**/
  20.  
  21. function areBothEven(num1,num2) {
  22. if (num1 === num2) {
  23. return true;
  24. }
  25. return false;
  26. }
  27.  
  28. console.log(areBothEven(1,2));
  29. </script>
  30.  
  31.  
  32.  
  33. <script id="jsbin-source-javascript" type="text/javascript">//write your answers below
  34.  
  35. function sayHello(name) {
  36. return ('Hello, ' + name);
  37. }
  38.  
  39. console.log(sayHello("Bill Jeffy"))
  40.  
  41. /**/
  42.  
  43. function areBothEven(num1,num2) {
  44. if (num1 === num2) {
  45. return true;
  46. }
  47. return false;
  48. }
  49.  
  50. console.log(areBothEven(1,2));</script></body>
  51. </html>
Add Comment
Please, Sign In to add comment