ClearScript Library
ClearScript Library
Please reopen this issue if you have additional questions or comments. Thanks!
Hi @herki18, > Is there a better approach to handling dynamic fields like __k? Having the proxy route property assignment to a private JavaScript object if the target doesn't support...
Hello @herki18, > is there a way to configure ClearScript to automatically treat `undefined` as `null` for nullable types? Yes; [`UndefinedImportValue`](https://clearscript.clearfoundry.net/Reference/html/P_Microsoft_ClearScript_ScriptEngine_UndefinedImportValue.htm) allows you to do just that – e.g., `engine.UndefinedImportValue...
Please reopen this issue if you have additional questions or comments. Thanks!
Hi @herki18, The behavior you're seeing is by design. It's an effect of a ClearScript feature called _type restriction_, which enhances the ability of script languages to consume strongly typed...
Please reopen this issue if you have additional questions about this topic. Thank you!
This issue affects `dotnet test` as well.
Hi @AnsisMalins, Thanks for posting your PR, but, as before, your change is redundant and/or in conflict with the upcoming ClearScript 7.5, which implements a number of strategies to reduce...
Hi @raystubbs, What behavior would you expect in this scenario? An index of zero is indeed out of range for a zero-length array. Thanks!
> I'd expect it not to throw when copying 0 bytes with `offset` or `sourceIndex` as `0`. So, if `count` is zero, the method should just return zero without checking...