The new API in action
writable: false means no code can reassign window.Audio to a different value. configurable: false means no code can even call Object.defineProperty again to change those settings. If fermaw’s initialisation code tried to restore the original Audio constructor (a perfectly sensible defensive move) the browser would either fail or throw a TypeError. The hook was permanent for the lifetime of the page.
,推荐阅读夫子获取更多信息
刚刚获得肖邦国际钢琴比赛冠军不久,陆逸轩说:“我非常不喜欢音乐比赛。”
With normal Smalltalk code, I would explore the system using senders, implementors, inspectors— gradually rebuilding my understanding. Here, that breaks down. The matching syntax lives inside strings, invisible to standard navigation tools. No code completion. No refactorings. No help from the environment.
And that’s it! The browser would automatically load the component, bind the native web APIs directly (without any JS glue code), and run the component.