var _ref, _; const abs = Math.abs; const value = (_ref = (_ = -5.9, abs(_)), Math.floor(_ref)); expect(value).toBe(5);