JS的property,那个怎么用,举个简单例子修正前面那位回答者,demo如下:demofunction foo(){this.att1="属性1"this.method1 = function(){alert('方法1')}}fo2023-02-21JavaScript200