mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-22 13:28:14 +08:00
6 lines
483 B
JavaScript
6 lines
483 B
JavaScript
// HTMLAudioElement对象
|
|
bodavm.memory.globalobj['HTMLAudioElement'] = function HTMLAudioElement(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
|
|
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['HTMLAudioElement'], "HTMLAudioElement");
|
|
bodavm.memory.globalobj['HTMLAudioElement'].prototype.__proto__=bodavm.memory.globalobj['HTMLMediaElement'].prototype;
|
|
bodavm.memory.globalobj['HTMLAudioElement'].__proto__=bodavm.memory.globalobj['HTMLMediaElement'];
|