Improve routines `fromLeft` and `fromRight`, use Infinity instead of undefined, inline replacing
Improve routines `fromLeft` and `fromRight`, use Infinity instead of undefined, inline replacing

Wandalen/wTools,volodymyrmigdal/wTools,Wandalen/wTools