Buckets:
| export default function max(values, valueof) { | |
| let max; | |
| if (valueof === undefined) { | |
| for (const value of values) { | |
| if (value != null | |
| && (max < value || (max === undefined && value >= value))) { | |
| max = value; | |
| } | |
| } | |
| } else { | |
| let index = -1; | |
| for (let value of values) { | |
| if ((value = valueof(value, ++index, values)) != null | |
| && (max < value || (max === undefined && value >= value))) { | |
| max = value; | |
| } | |
| } | |
| } | |
| return max; | |
| } | |
Xet Storage Details
- Size:
- 502 Bytes
- Xet hash:
- 2864da7746dc572578eec17672d92669b96a7be9e104c131039a7290b9a5b988
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.