---
title: "Discussion on \"Placing a secondary counter for break on possibily (long) loops on development / testing\" | Hashnode"
description: "Discussion on \"Placing a secondary counter for break on possibily (long) loops on development / testing\". I was learning about generators in JavaScript and ran some code I wrote to test. Unfortunately it locked up my FireFox and I had to killall firefox on my machine in terminal.\nIf you're testing somethi"
url: "https://hashnode.com/posts/placing-a-secondary-counter-for-break-on-possibily-long-loops-on-development-testing/5e5f84ee205a551d167fa08b"
---

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

Discussion

# [Placing a secondary counter for break on possibily (long) loops on development / testing](https://anjanesh.dev/placing-a-secondary-counter-for-break-on-possibily-long-loops-on-development-testing?utm_source=hashnode&utm_medium=feed)

I was learning about generators in JavaScript and ran some code I wrote to test. Unfortunately it locked up my FireFox and I had to killall firefox on my machine in terminal. If you're testing somethi

Mar 4, 2020 · 2 min read · anjanesh.dev  
Updated Jun 16  
Read the article

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

## Written by

[Anjanesh Lekshminarayanan](https://hashnode.com/@anjanesh)

@anjanesh · Navi Mumbai, MH

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

Web UI Engineer

I am a web consultant from Navi Mumbai. Mainly dealt with LAMP stack, now into Django and getting into Laravel and Cloud. Founder of nerul.in and gaali.in

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
