test: refactor /parallel/test-cluster-uncaught-exception.js to ES6
Checklist
-
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
Test
Description of change
This commit replaces function expressions with ES6 arrow functions as well as improves the comparison operator to check if operands are of same types.