摘要:
0、数组和字符串相互转换 字符串转数组: const array = str.split(','); //关于split: 可以接收第二个参数,表示返回数组的最大长度 数组转字符串: const str = array.toString(); const str = array.join('='); 阅读全文
摘要:
1、行内style固定写法需要注意的地方 行内style固定写法是双花括号。 多组属性要用逗号','隔开,而不是html行内样式的分号';' 为什么这样做:因为行内样式必须是一个js对象 2、 CSS中 link 和@import 的区别 答案来源:https://www.nowcoder.com/ 阅读全文