javascript-原型鏈

先來看一段代碼: <!DOCTYPE html> <html> <script type="text/javascript"> function show(){ console.log(typeof(x)); //undefined console.log(typeof(10));//number console.log(typeof("asdf"));//string
相關文章
相關標籤/搜索