self.sleep_min = 0.2
HTMLMediaElement.prototype is the browser’s own internal prototype for all and elements and by redefining the property descriptor for src and srcObject on this prototype, I ensured that regardless of where the audio element lives (whether it’s in the main document, inside an iframe’s shadow, or buried inside a web component) the moment any source is assigned to it, the hook fires. The element cannot receive audio without announcing itself.
,更多细节参见旺商聊官方下载
我的中文學習旅程則是用截然不同的方式開始的。
输出:[3,1,2,1,1,0]
Credit: Jackery