crash workaround for QTBUG-119395
calling an external reduce function seems to crash inside QV4 in some cases, see https://bugreports.qt.io/browse/QTBUG-119395
porting it to an inline arrow function solves the issue
calling an external reduce function seems to crash inside QV4 in some cases, see https://bugreports.qt.io/browse/QTBUG-119395
porting it to an inline arrow function solves the issue