---
title: "Discussion on \"How to reverse a number in JavaScript\" | Hashnode"
description: "Discussion on \"How to reverse a number in JavaScript\". By artismarti\nExamples using an arrow function and regular JS function\n\n_Photo by [Unsplash](https://unsplash.com/@chuttersnap?utm_source=medium&utm_medium=referral\" rel=\"noopener\" target=\"_blank\" title=\"\">chuttersnap on <a href=\"https://unsplash.com..."
url: "https://hashnode.com/posts/js-basics-how-to-reverse-a-number-9aefc20afa8d/66c35948c5e11f7a9c406849"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to reverse a number in JavaScript](https://freecodecamp.org/news/js-basics-how-to-reverse-a-number-9aefc20afa8d?utm_source=hashnode&utm_medium=feed)

By artismarti Examples using an arrow function and regular JS function \_Photo by \[Unsplash\](https://unsplash.com/@chuttersnap?utm\_source=medium&utm\_medium=referral" rel="noopener" target="\_blank" title="">chuttersnap on <a href="https://unsplash.com...

Feb 3, 2019 · 3 min read · freecodecamp.org  
Read the article

-   [#women-who-code](https://hashnode.com/tag/women-who-code)
-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#programming](https://hashnode.com/tag/programming)
-   [#tech](https://hashnode.com/tag/tech)

## Written by

[freeCodeCamp](https://hashnode.com/@freeCodeCamp)

@freeCodeCamp · Just here on Earth... for now

  
[View profile](https://hashnode.com/@freeCodeCamp)

Learn to code. Build projects. Earn certifications—All for free.

Learn to code. Build projects. Earn certifications—All for free.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
