---
title: "Comment by King Etiosasere on \"How would a Tired Dev reverse an integer in JavaScript...\" | Hashnode"
description: "This is an awesome article! I actually never knew there was something called Math.sign() in JS."
url: "https://hashnode.com/posts/how-would-a-tired-dev-reverse-an-integer-in-javascript/60578bfe5f8d512169728027/comment/6057a5c85f8d512169728172"
---

[Discussion](https://hashnode.com/posts/how-would-a-tired-dev-reverse-an-integer-in-javascript/60578bfe5f8d512169728027)

Comment [How would a Tired Dev reverse an integer in JavaScript...](https://hashnode.com/posts/how-would-a-tired-dev-reverse-an-integer-in-javascript/60578bfe5f8d512169728027)

[King Etiosasere](https://hashnode.com/@thatkingguy)

[Mar 21, 2021](https://hashnode.com/posts/how-would-a-tired-dev-reverse-an-integer-in-javascript/60578bfe5f8d512169728027/comment/6057a5c85f8d512169728172)

This is an awesome article! I actually never knew there was something called `Math.sign()` in JS.

[Gideon Idowu](https://hashnode.com/@giddydev)

[Mar 21, 2021](https://hashnode.com/posts/how-would-a-tired-dev-reverse-an-integer-in-javascript/60578bfe5f8d512169728027/comment/6057a5c85f8d512169728172#reply-6057ae1a63a05a21443f3614)

Me neither, until recently. Found it and I just had to share it. Glad you liked it!
