Quantcast
Channel: Javascript .NET
Viewing all articles
Browse latest Browse all 137

New Post: new JavascriptContext() - An attempt to divide by zero

$
0
0
If your 'script' is not setting 'result' then you are calling ToString() on null. However I cannot see how this would become divide by zero.

The only other way I have known DLLs to influence each other is by fiddling with the floating point signal handling register (wherever that is). This might change whether a divide by zero in JavaScript returns NaN or throws an exception.

Viewing all articles
Browse latest Browse all 137

Latest Images

Trending Articles