A vehicle (50A, 50B) comprising a charger (100A, 100B) and a controller (500A, 500B), the controller configured to control the charger, the charger comprising a housing, wherein the housing includes a DC port configured to electrically connect the charger to a power storage device, a first AC port configured to receive first AC power for charging the power storage device, and a second AC port configured to output second AC power, the charger further comprises, inside the housing, a bidirectional converter, a switching device, and an electric resistance, the bidirectional converter being configured to: convert the first AC power into DC power and output the DC power to the DC port, and convert DC power supplied from the power storage device to the DC port into the second AC power and output the second AC power to the second AC port, the switching device includes at least one switching relay configured to selectively switch between a first power path and a second power path, the first power path connecting the bidirectional converter and the first AC port, the second power path connecting the bidirectional converter and the second AC port; the electric resistance is connected in parallel to a position that bypasses a switching relay (121, 161) on the first power path, of the at least one switching relay; and the controller is configured to control the switching device such that when charging of the power storage device using the first AC power is started, the switching relay on the first power path brings the first power path into a disconnected state and thus the electric resistance suppresses an inrush current at the time of precharging, and when the precharging is completed, the switching relay on the first power path brings the first power path into a connected state. the housing includes a DC port configured to electrically connect the charger to a power storage device, a first AC port configured to receive first AC power for charging the power storage device, and a second AC port configured to output second AC power, a DC port configured to electrically connect the charger to a power storage device, a first AC port configured to receive first AC power for charging the power storage device, and a second AC port configured to output second AC power, the charger further comprises, inside the housing, a bidirectional converter, a switching device, and an electric resistance, a bidirectional converter, a switching device, and an electric resistance, the bidirectional converter being configured to: convert the first AC power into DC power and output the DC power to the DC port, and convert DC power supplied from the power storage device to the DC port into the second AC power and output the second AC power to the second AC port, convert the first AC power into DC power and output the DC power to the DC port, and convert DC power supplied from the power storage device to the DC port into the second AC power and output the second AC power to the second AC port, the switching device includes at least one switching relay configured to selectively switch between a first power path and a second power path, the first power path connecting the bidirectional converter and the first AC port, the second power path connecting the bidirectional converter and the second AC port; the electric resistance is connected in parallel to a position that bypasses a switching relay (121, 161) on the first power path, of the at least one switching relay; and the controller is configured to control the switching device such that when charging of the power storage device using the first AC power is started, the switching relay on the first power path brings the first power path into a disconnected state and thus the electric resistance suppresses an inrush current at the time of precharging, and when the precharging is completed, the switching relay on the first power path brings the first power path into a connected state. when charging of the power storage device using the first AC power is started, the switching relay on the first power path brings the first power path into a disconnected state and thus the electric resistance suppresses an inrush current at the time of precharging, and when the precharging is completed, the switching relay on the first power path brings the first power path into a connected state.