[PATCH 8/9] jscript: Properly handle passing undefined value to Number.toPrecision.