How to implement AudioWorklet Node Example?

Hello, I was reading on AudioWorkletNode example:

https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode

However I am failing to implement the example with an HTML document and JS files, could someone help me understand on how to implement the example with having a button to click for the white noise ?