博客园 :: :: 新随笔 :: :: :: 管理 ::

随笔分类 -  html+JS

摘要:var x = [1,2,2,3,4,5,6,7,7,8] var y = x[x.length-1] var z= [] for (var i = 0;i<x.length;i++) { if (y!=x[i]) { z.push(x[i]) y = x[i] } } 阅读全文
posted @ 2020-02-20 19:14 #include<stdio.h> 阅读(192) 评论(0) 推荐(0)

摘要:计算字符串长度,加车头.切换到IE模式下使用 0 阅读全文
posted @ 2017-07-12 21:13 #include<stdio.h> 阅读(255) 评论(0) 推荐(0)

摘要:1 // ==UserScript== 2 // @name 小调网 3 // @namespace http://tampermonkey.net/ 4 // @version 0.1 5 // @description try to take over the world! 6 // @author You 7 // @match... 阅读全文
posted @ 2016-05-18 23:18 #include<stdio.h> 阅读(641) 评论(0) 推荐(0)

摘要:结构图如下: html如下: css如下: js如下:   阅读全文
posted @ 2016-03-13 14:56 #include<stdio.h> 阅读(1342) 评论(0) 推荐(0)