单项选择题

let method = function(){}method.prototype.add = function(){ alert("ok");}let method1 = function(){}// 补全此处代码let obj = new method1();obj.add()?最终打印结果是‘ok’;()

A.method1.prototype=new method()
B.method1=new method()
C.method.prototype=new Fn2()
D.以上都不对