Comments (3)
Hello, Dmitry!
I guess this code should not to throw an exception, but use a default value of type of parameter.
Jint and Jurassic use a default value of type of parameter, but Microsoft ClearScript.V8 and Chakra .NET wrappers throw their own exception.
from nil.js.
Thanks for this bug report. I found this bug too, but after the release. As I understand, this bug had been for a long time, but hidden with try-catch around wrapper call and now become visible. I guess this code should not to throw an exception, but use a default value of type of parameter. At least, this happens when parameter is of reference type. But i'm not sure
from nil.js.
Thanks!
from nil.js.
Related Issues (20)
- Weird behaviour when sorting floats HOT 1
- Readonly global context. HOT 8
- Eval ignore null value properties HOT 4
- Protect BaseLibrary content in GlobalContext HOT 2
- JS Type System vs CLR Type System (inheritance behavior) HOT 3
- How to pass object to modules for export HOT 7
- Incorrect method overload with objects array HOT 4
- Incorrect behaviour of Array.splice HOT 2
- Template string parsing error
- Computed properties parsing error HOT 1
- Incorrect conversion of string into Number if the number is prefixed with ZEROs
- please support dotnet 4.7.2 HOT 1
- Passing custom IReadOnlyList<T> implementation HOT 2
- Difference in exceptions from JS and from .Net HOT 3
- Questions about the library. HOT 3
- TargetParameterCountException when returning params in 2.5.1677 HOT 4
- Need Best Practices Guides for Performance and Memory Usage HOT 1
- Custom ObjectWrapper with naming convention HOT 2
- Math.round returns invalid value HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nil.js.