lib: fixing isStackOverflowError to account for different JS engines
requested to merge github/fork/mike-kaufman/mkaufman-fix-is-stack-overflow-for-node-chakracore into master
Assumption that stack overflow exception has name == "RangeError" is v8-specific. Updated logic to dynamically capture error name when capturing error message.
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows [commit guidelines]