Skip to content

Commit d48ddcd

Browse files
fix(curriculum): change toFix to toFixed in lesson content (freeCodeCamp#61843)
Co-authored-by: Sanchit Kathpalia <sanchitkhthpalia.com>
1 parent 0741793 commit d48ddcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

curriculum/challenges/english/25-front-end-development/lecture-working-with-types-and-objects/6732c69d82814160951b1aa7.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dashedName: what-is-the-number-constructor-and-how-does-it-work-for-type-coercio
77

88
# --description--
99

10-
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:
10+
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:
1111

1212
```js
1313
const myNum = new Number("34");

0 commit comments

Comments
 (0)