---
title: "Discussion on \"Alternative approaches in JavaScript\" | Hashnode"
description: "Discussion on \"Alternative approaches in JavaScript\". It's a short article demonstrating alternative ways of writing some of the tradition JavaScript codes.\nThe old of converting Number-Strings\nlet num = 10;\n\nlet newNum = num.toString();\n\nlet str = \"10\"\n\nlet strNum = Number(str)\nThe alternative way for ..."
url: "https://hashnode.com/posts/alternative-approaches-in-javascript/631f7c8f526d775aa7f6642a"
---

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

Discussion

# [Alternative approaches in JavaScript](https://blogsfromrakesh.hashnode.dev/alternative-approaches-in-javascript?utm_source=hashnode&utm_medium=feed)

It's a short article demonstrating alternative ways of writing some of the tradition JavaScript codes. The old of converting Number-Strings let num = 10; let newNum = num.toString(); let str = "10" let strNum = Number(str) The alternative way for ...

Sep 12, 2022 · 1 min read · blogsfromrakesh.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Rakesh Kumar Shaw](https://hashnode.com/@rakeshshaw)

@rakeshshaw · Bengaluru, India

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

Senior Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
