Fabric.js min() Method
The min() method is used to find the minimum value from the specified array.
min( array )
Parameters: This method accepts single parameter as mentioned above and described below:
- array: This parameter holds the array to iterate over.
Return Value: This method returns the minimum value from the array.
Example 2: In the below code, ascii value of alphabets are considered for finding minimum value.