11 lines
203 B
JavaScript
11 lines
203 B
JavaScript
var _ref, _ref2, _ref3;
|
|
|
|
function area(rect) {
|
|
return rect.width * rect.height;
|
|
}
|
|
|
|
const result = (_ref = (_ref2 = (_ref3 = -5, Math.abs(_ref3)), {
|
|
width: _ref2,
|
|
height: _ref2 + 3
|
|
}), area(_ref));
|