在JS 中属性没有“-”,采用的是驼峰命名法。例如:”background-color”在JS中是backgroundColor
Js的语法特性
最新推荐文章于 2024-04-24 19:31:26 发布
在JS 中属性没有“-”,采用的是驼峰命名法。例如:”background-color”在JS中是backgroundColor