56. implement Abs<N>

TypeScript

  - accepted / - tried

Implement Abs<N> to get the absolute value of a number. You can assume the number are integers.

10分間以内で解いてみて

(1)