I don’t know if this really important. Anyway, tested this function and got better result with Math.abs() function. If it really faster then it may be fine change to that, I guess…
2 Likes
OMG this is excellent!! Do you want to send a PR? You deserve to get some credits!
Done. 
1 Like