---
title: "Getting lively with Firefox 90"
description: "Firefox 90 enables JavaScript private class fields and methods by default, using a # prefix so properties can only be read or written inside the class body, and adds the relative-indexing at() method to Array, String and TypedArray, which accepts negative indexes to count from the end."
url: "https://swe.quest/articles/getting-lively-with-firefox-90-e2cf4b92d9ecbff1"
canonical: "https://hacks.mozilla.org/2021/07/getting-lively-with-firefox-90/"
source: "Mozilla Hacks"
published: "2021-07-13"
difficulty: "medium"
kind: "Release"
reading_minutes: 3
tags: ["browsers","javascript","frontend"]
---

# Getting lively with Firefox 90

A post on [Mozilla Hacks](https://swe.quest/sources/mozilla-hacks.md), published 2021-07-13, 3 min read, Release. Original: [https://hacks.mozilla.org/2021/07/getting-lively-with-firefox-90/](https://hacks.mozilla.org/2021/07/getting-lively-with-firefox-90/)

## Summary

Firefox 90 enables JavaScript private class fields and methods by default, using a # prefix so properties can only be read or written inside the class body, and adds the relative-indexing at() method to Array, String and TypedArray, which accepts negative indexes to count from the end. The 2D Canvas API gains createConicGradient() for gradients swept around a center point, and Fetch metadata request headers (Sec-Fetch-Site, -Mode, -User, -Dest) are now sent by default so servers can decide whether to allow requests based on their origin context. Windows also gets Background Update, letting Firefox update while not running.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Browsers](https://swe.quest/tags/browsers.md) (Web & mobile)
- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)

## Prerequisites

- JavaScript classes ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))
- Canvas 2D API

## Keywords

Firefox 90, Private class fields, Array.prototype.at, createConicGradient, Fetch metadata headers, Sec-Fetch-Site

## Related posts

- [New to the web platform in August](https://swe.quest/articles/new-to-the-web-platform-in-august-d903fac59867da54.md): web.dev · 2026-08-28 · Easy · 5 min read · Browsers, CSS, JavaScript, Frontend
  Chrome 152 and Firefox 154 shipped to stable in August 2026, making several features Baseline Newly available: the text-box-trim/text-box-edge properties for trimming font leading, the sibling-count() and sibling-index() CSS functions, and the global autocorrect attribute.
- [Looking fine with Firefox 89](https://swe.quest/articles/looking-fine-with-firefox-89-bc7d05601914559d.md): Mozilla Hacks · 2021-06-01 · Medium · 3 min read · Browsers, CSS, JavaScript, Web performance, Accessibility
  Firefox 89 ships a slimmer, more minimalist interface alongside several new web platform features.
- [Hopping on Firefox 91](https://swe.quest/articles/hopping-on-firefox-91-43b40b5229f7a9ce.md): Mozilla Hacks · 2021-08-10 · Medium · 3 min read · Browsers, JavaScript, Frontend
  Firefox 91 enables the Visual Viewport API by default, making it available in all major browsers and letting pages read the visible viewport's size, offset and scale and react to resize and scroll events, such as when zooming or an on-screen keyboard appears.
- [New to the web platform in September](https://swe.quest/articles/new-to-the-web-platform-in-september-cc84fc5fb8499b25.md): web.dev · 2026-10-02 · Easy · 7 min read · Browsers, CSS, JavaScript, Frontend
  September 2026 brought Chrome 153 and 154, Firefox 155 through 157, and Safari 27 to stable, the first month of bi-weekly Chrome and Firefox releases.
- [In March, we see Firefox 87](https://swe.quest/articles/in-march-we-see-firefox-87-89133003c9c65b13.md): Mozilla Hacks · 2021-03-23 · Medium · 4 min read · Browsers, Privacy, Developer tools, Accessibility
  Firefox 87 enables the beforeinput event and InputEvent.getTargetRanges() by default, letting web apps inspect and cancel text edits in inputs and contenteditable elements before the DOM changes, with an example that protects metadata spans inside an editable comment.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
