startit/eloquentjavascript/functions.js

3 lines
48 B
JavaScript

const square = function(x) {
return x * x;
}