---
title: "Discussion on \"Javascript refactoring\" | Hashnode"
description: "Discussion on \"Javascript refactoring\". Lately, my friend was applying for a Javascript Developer position. He was assigned a refactoring task and asked me for advice. So I helped him and decided to post a full solution because it's a very good piece of code to practice.\nCurrent (legacy) c..."
url: "https://hashnode.com/posts/javascript-refactoring/6409da92207acae6efba58a3"
---

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

Discussion

# [Javascript refactoring](https://blog.procode.pl/javascript-refactoring?utm_source=hashnode&utm_medium=feed)

Lately, my friend was applying for a Javascript Developer position. He was assigned a refactoring task and asked me for advice. So I helped him and decided to post a full solution because it's a very good piece of code to practice. Current (legacy) c...

Mar 9, 2023 · 15 min read · blog.procode.pl  
Updated Mar 24, 2023  
Read the article

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

## Written by

[Bartosz Szłapak](https://hashnode.com/@Barcioch)

@Barcioch · Warsaw, Poland

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

Full stack developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
