class-sharing

Passing a JavaScript class to a worker. (source code)

💡 Open the developer console to see the results.