首页
📷在线壁纸
🎬娱乐天地
🔖友情链接
更多
📝留言板
Search
1
【javascript】JS-向当前url追加参数
2,343 阅读
2
【PHP】生成随机昵称
2,200 阅读
3
【PHP】判断一个字符串是否属于序列化后的数据
2,022 阅读
4
【css】html+css给文章页,做阅读全文
1,973 阅读
5
【PHP】 设计模式(23种)
1,907 阅读
📂默认分类
💓typecho
🏳️🌈代码改变世界
🍇 mysql
🍈 Winform
🍓 golang
🍉 设计模式
🥝 PHP
🍎 python
🍊 nginx
🍋 网络安全
🍍 javascript
🫑 database
🍡 AI
🍭文艺范
🍏mac
登录
Search
标签搜索
php
typecho
代码注释
redis
mysql
go
golang
nginx
thinkphp
gin
linux
curl
html
mamp
docker
算法
短网址
构造函数
webhook
代码片段
依然范儿特西
累计撰写
141
篇文章
累计收到
1
条评论
首页
栏目
📂默认分类
💓typecho
🏳️🌈代码改变世界
🍇 mysql
🍈 Winform
🍓 golang
🍉 设计模式
🥝 PHP
🍎 python
🍊 nginx
🍋 网络安全
🍍 javascript
🫑 database
🍡 AI
🍭文艺范
🍏mac
页面
📷在线壁纸
🎬娱乐天地
🔖友情链接
📝留言板
搜索到
1
篇与
的结果
2022-11-10
V50js代码
疯狂星期四, v50let arr = [ [1, 9, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22], [2, 8, 12, 18, 22], [3, 7, 12, 13, 14, 15, 16, 18, 22], [4, 6, 16, 18, 22], [5, 5, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22], ]; function demo(arr) { let str = ""; let style=[]; for (let i = 0; i < arr.length; i++) { for (j = 0; j < 30; j++) { if (arr[i].indexOf(j) > -1) { str += "%c█"; style.push(j< 12 ? "color:red" : "color:green") } else { str += " "; } } str += "\n"; } return [str,...style]; } console.log(...demo(arr));
2022年11月10日
56 阅读
0 评论
0 点赞