# JavaScript (ES6), <s>39</s> 37 bytes

<!-- language: lang-js -->

    x=>"-~".repeat(x<0?-x:x).slice(x<0)+0

Saved 2 bytes thanks to @Neil