kruxor.com
//
Use destructuring assignment within the argument to the function half to send only max and min inside the function.
//
Demo