摘要:
text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; overflow: hidden; /*! autoprefixer: off */ -webkit-box-orient: vertical; /*! aut 阅读全文
摘要:
1、chartAt:string.charAt(index),返回指定位置的字符; 2、chartCodeAt:string.charCodeAt(index),返回指定位置的字符的 Unicode 编码( 0 - 65535); 3、fromCharCode:String.fromCharCode 阅读全文
摘要:
一、查找类 1、find:array.find(function(currentValue, index, arr),thisValue),第二个参数基本不使用,返回查找到的元素,查找不到返回undefined,不改变原数组; 2、findIndex:array.findIndex(function 阅读全文