Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: userc865b
Added: Oct 16, 2018 2:04 PM
Modified: Oct 16, 2018 2:06 PM
Views: 3
Tags: js
  1. // ES5
  2. var x = function(x, y) {
  3.      return x * y;
  4. }
  5.  
  6. // ES6
  7. const x = (x, y) => x * y;
  8.  
  9.  
  10. const x = (x, y) => x * y;
  11.  x(5,3)  -->>15