摘要:
const arr = [2,4,16]; let v = 0; for(const i in arr) v |= arr[i]; console.log(v); let xxx = 23;// 16 4 2 let r = []; let i = 0; while (xxx > 0) { cons 阅读全文
摘要:
我是一个.net程序员,但是苦于公司要求开发一个android app,没办法,只能硬着头皮上了。由于项目里面很多地方需要用到数据显示控件(类似于.net的DataGridView),度娘找了下发现没人公开类似的控件,没办法只好自己写了。废话不多说,直接贴代码: 1 public class Da... 阅读全文