Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion web/src/pages/concepts/primitives.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ Even though the name says _Not a Number_, it is of type "number"
- `min` is used to get the smallest of zero or more numbers
- `sqrt` is used to calculate the square root of the given number
- `pow` is used to calculate the power base on inputs
- `trunc` is used to limit the total number of digits to represent the number (method is present on prototype of `Number`)
- `trunc` is used to return the integer part of a number by removing any fractional digits (method is present on prototype of `Number`)

```js copy
Math.abs(-5)); // 5
Expand Down