I wonder about how to best implement the JavaScript iteration protocols in a .NET interface or class which is to be passed to the scripting environment such that script objects support the iteration protocols (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols)? Is there a best practice to achieve this?
Reactions are currently unavailable
I wonder about how to best implement the JavaScript iteration protocols in a .NET interface or class which is to be passed to the scripting environment such that script objects support the iteration protocols (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols)? Is there a best practice to achieve this?