JavaScript-1 function 与 method 的区别

在 JavaScript 中 function 被定义为从属与某个对象,而 method 不从属任何对象

猜你喜欢

转载自www.cnblogs.com/reverse201/p/10427477.html