判断题

阅读如下代码,请问两处console的输出结果[$##$][$##$]。 ...

发布于 2022-03-03 16:42:45

阅读如下代码,请问两处console的输出结果()()。
 var Product = {
    
count: 1,
    
getCount: function( ) {
  
return this.count++
     
}
 
}
 
console.log(Product.getCount( ))
 
var func = Product.getCount
     
console.log(func( ))

关注者
0
被浏览
41
知识点
面圈网VIP题库

面圈网VIP题库全新上线,海量真题题库资源。 90大类考试,超10万份考试真题开放下载啦

去下载看看