2016年9月20日

New Object 和Object.create()

摘要: new Object new Object() 构造函数 阅读全文

posted @ 2016-09-20 14:25 carlyin 阅读(188) 评论(0) 推荐(0)

Console.assert 断言

摘要: 接受2个参数 第一个参数转换为boolean值为true,什么也不做 第一个参数转换为boolean值为false,assert打印第二个参数的返回值(基本为字符串) 阅读全文

posted @ 2016-09-20 10:04 carlyin 阅读(776) 评论(0) 推荐(0)

2016年9月19日

瀑布流

摘要: 就是利用css3中的column-width规定列的宽度 阅读全文

posted @ 2016-09-19 09:51 carlyin 阅读(104) 评论(0) 推荐(0)

2016年9月14日

data-* 属性

摘要: 取得元素 dataset属性 DOMStringMap Object 包含驼峰变量转换(类似angularjs中的derective名称转换) 阅读全文

posted @ 2016-09-14 15:39 carlyin 阅读(129) 评论(0) 推荐(0)

2016年9月9日

赞你个大头鬼

摘要: 点赞 阅读全文

posted @ 2016-09-09 15:08 carlyin 阅读(110) 评论(0) 推荐(0)

2016年9月8日

LeetCode #3 Longest Substring Without Repeating Characters

摘要: Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng 阅读全文

posted @ 2016-09-08 11:14 carlyin 阅读(137) 评论(0) 推荐(0)

2016年9月7日

LeetCode #2 Add Two Numbers

摘要: You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single 阅读全文

posted @ 2016-09-07 16:40 carlyin 阅读(131) 评论(0) 推荐(0)

LeetCode #1Two Sum

摘要: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex 阅读全文

posted @ 2016-09-07 16:17 carlyin 阅读(94) 评论(0) 推荐(0)

C# delegate委托

摘要: 委托:存储函数引用类型 返回类型 和 参数 一致 为什么不判断参数传入而选择不同函数方法,而非要delegate呢 还要new一个新的delegate类... 阅读全文

posted @ 2016-09-07 14:03 carlyin 阅读(318) 评论(0) 推荐(0)

2016年9月6日

C#函数

摘要: 其他函数知识点基本一致,C#特色: 1.ref关键字 将形参由按值传递改为按引用传递,函数参数变量在函数中处理变化,将改变函数参数值,不需要return 注意点: 不能用常量“const” 变量必须先初始化,不能为空值 2.out关键字 将指定给的参数作为输出参数 相当于将函数参数中out标记的值r 阅读全文

posted @ 2016-09-06 14:31 carlyin 阅读(142) 评论(0) 推荐(0)

导航