* updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * more link Signed-off-by: Jess Frazelle <github@jessfraz.com> * better highlighting Signed-off-by: Jess Frazelle <github@jessfraz.com> * better highlighting Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com>
31 lines
307 B
Markdown
31 lines
307 B
Markdown
---
|
|
title: "max"
|
|
excerpt: "Computes the maximum of the given arguments."
|
|
layout: manual
|
|
---
|
|
|
|
Computes the maximum of the given arguments.
|
|
|
|
|
|
|
|
```js
|
|
max(args: [number]) -> number
|
|
```
|
|
|
|
### Examples
|
|
|
|
```js
|
|
const myVar = max(4, 5, 6)
|
|
```
|
|
|
|
### Arguments
|
|
|
|
* `args`: `[number]` (REQUIRED)
|
|
|
|
### Returns
|
|
|
|
`number`
|
|
|
|
|
|
|