---
title: "Discussion on \"JavaScript: repeat()\" | Hashnode"
description: "Discussion on \"JavaScript: repeat()\". repeat() is one of those methods that's not essential to know, but if you do it, it does make things simpler.\nLet's say you have a form which takes your first name and converts it to a username. The username has to be 8 characters long. If your name ..."
url: "https://hashnode.com/posts/javascript-repeat/5fc281f955b779631e1ad166"
---

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

Discussion

# [JavaScript: repeat()](https://blog.nicm42.me.uk/javascript-repeat?utm_source=hashnode&utm_medium=feed)

repeat() is one of those methods that's not essential to know, but if you do it, it does make things simpler. Let's say you have a form which takes your first name and converts it to a username. The username has to be 8 characters long. If your name ...

Nov 28, 2020 · 2 min read · blog.nicm42.me.uk  
Read the article

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

## Written by

[Nic](https://hashnode.com/@nicm42)

@nicm42 · England

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

This week I learnt...

Front End Developer. I like problem solving and making things pretty. I also like red.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
