摘要: 原文链接:http://caibaojian.com/js-string.html 一、charAt() 返回在指定位置的字符。 二、charCodeAt() 返回在指定的位置的字符的 Unicode 编码。 三、concat() 连接字符串。 四、indexOf() 检索字符串。indexOf() 阅读全文
posted @ 2019-07-07 14:47 不辜负自己 阅读(328) 评论(0) 推荐(0)
摘要: viewport 语法介绍 <meta name="viewport"content=" height = [pixel_value | device-height] , width = [pixel_value | device-width ] , initial-scale = float_va 阅读全文
posted @ 2019-07-01 16:25 不辜负自己 阅读(625) 评论(0) 推荐(0)
摘要: 1、JS中的||符号: 运算方法: 只要“||”前面为false,不管“||”后面是true还是false,都返回“||”后面的值。 只要“||”前面为true,不管“||”后面是true还是false,都返回“||”前面的值。 总结:真前假后 2、JS中的&&符号: 运算方法: 只要“&&”前面是 阅读全文
posted @ 2019-05-25 14:54 不辜负自己 阅读(1307) 评论(0) 推荐(0)