This is to support ‘method chaining’ on AudioNode.connect() and the automation methods of AudioParam object. The current implementation does not return anything when these methods get executed. It improves the control flow and the readability of Web Audio JS code.
Docs: http://webaudio.github.io/web-audio-api/#the-audionode-interface http://webaudio.github.io/web-audio-api/#AudioParam https://github.com/WebAudio/web-audio-api/issues/650 https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect(AudioNode) https://developer.mozilla.org/en-US/docs/Web/API/AudioParam
Samples: https://googlechrome.github.io/samples/webaudio-method-chaining/index.html