From d48ddcd59edba52d184e4c4afb01f02e8d25a20b Mon Sep 17 00:00:00 2001 From: Sanchit Kathpalia <114855470+sanchitkhthpalia@users.noreply.github.com> Date: Sat, 16 Aug 2025 23:44:47 +0530 Subject: [PATCH] fix(curriculum): change toFix to toFixed in lesson content (#61843) Co-authored-by: Sanchit Kathpalia --- .../6732c69d82814160951b1aa7.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/25-front-end-development/lecture-working-with-types-and-objects/6732c69d82814160951b1aa7.md b/curriculum/challenges/english/25-front-end-development/lecture-working-with-types-and-objects/6732c69d82814160951b1aa7.md index 2d89c56075a..576e8099214 100644 --- a/curriculum/challenges/english/25-front-end-development/lecture-working-with-types-and-objects/6732c69d82814160951b1aa7.md +++ b/curriculum/challenges/english/25-front-end-development/lecture-working-with-types-and-objects/6732c69d82814160951b1aa7.md @@ -7,7 +7,7 @@ dashedName: what-is-the-number-constructor-and-how-does-it-work-for-type-coercio # --description-- -The `Number()` constructor is used to create a number object. The number object contains a few helpful properties and methods like the `isNaN` and the `toFix` method. Here's an example using the `Number()` constructor with the `new` keyword: +The `Number()` constructor is used to create a number object. The number object contains a few helpful properties and methods like the `isNaN` and the `toFixed` method. Here's an example using the `Number()` constructor with the `new` keyword: ```js const myNum = new Number("34");