---
title: "Discussion on \"TypeScript and Best Practices: Modernizing the nth Function in JavaScript\" | Hashnode"
description: "Discussion on \"TypeScript and Best Practices: Modernizing the nth Function in JavaScript\". Are you looking to modernize your JavaScript code? Look no further than our posts on updating code examples from books. In this third installment, we’ll show you how to modernize the nth function from \"Functional JavaScript.\" We'll walk you through u..."
url: "https://hashnode.com/posts/typescript-and-best-practices-modernizing-the-nth-function-in-javascript/61aa6b9b9588ce055cac55cb"
---

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

Discussion

# [TypeScript and Best Practices: Modernizing the nth Function in JavaScript](https://non-traditional.dev/typescript-and-best-practices-modernizing-the-nth-function-in-javascript?utm_source=hashnode&utm_medium=feed)

Are you looking to modernize your JavaScript code? Look no further than our posts on updating code examples from books. In this third installment, we’ll show you how to modernize the nth function from "Functional JavaScript." We'll walk you through u...

Dec 3, 2021 · 5 min read · non-traditional.dev  
Updated Mar 2, 2023  
Read the article

-   [#typescript](https://hashnode.com/tag/typescript)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#functional-programming](https://hashnode.com/tag/functional-programming)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Travis Waith-Mair](https://hashnode.com/@nontraditionaldev)

@nontraditionaldev · Houston, Texas

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

Spread the joy

Travis Waith-Mair is a software engineer with a focus on front-end development. He is the author of the course "Composing Layouts in React" on Newline.co, where he teaches developers how to create flexible and modular layout systems using the React JavaScript library. In addition to his work as a course author, Travis is also the creator of the Bedrock Layout Primitives Library, a set of open-source tools for building robust and highly customizable layout systems. Travis's passion for front-end development is driven by his belief that a well-designed layout is the foundation of any great user experience.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
