rust-native-wasm-loader icon indicating copy to clipboard operation
rust-native-wasm-loader copied to clipboard

readme sample code -> new syntax to conform to object destructuring

Open tysun opened this issue 6 years ago • 0 comments
trafficstars

The readme sample code const add = result.instance.exports['add']; is throwing an error for projects using airbnb-eslint because it prefers object destructuring. Would it be possible to update for this in favor of a more modern syntax?

tysun avatar Feb 02 '19 07:02 tysun