Skip to content

Commit 224315f

Browse files
author
zhangyue0503
committed
20161220
1 parent f3dca70 commit 224315f

File tree

2 files changed

+70
-56
lines changed

2 files changed

+70
-56
lines changed

.idea/workspace.xml

+57-56
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gaoxingnengjs/8.js

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/**
2+
* Created by zhangyue on 2016/12/20.
3+
*/
4+
//位操作%2功能
5+
var rows = [11,22,33,44,55,66,77];
6+
for(var i = 0,len=rows.length;i<len;i++){
7+
if(i&1){
8+
console.log("odd"+rows[i]);
9+
}else{
10+
console.log("even"+rows[i]);
11+
}
12+
}
13+

0 commit comments

Comments
 (0)