Returns the minimum value out of all parameters, where parameters can be any data type, including numbers, strings, or dates.
Parameters
An unlimited number of parameters can be passed to this API
Examples
Code Block | ||
---|---|---|
| ||
var min; min = pjs.min("x", "y", "z", "a", "b", "c"); // min is "a" min = pjs.min(3, 2, 1, 99, 98, 97); // min is 1 |
...