会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
AngDH
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
54
55
56
57
58
59
60
61
62
···
124
下一页
2022年2月2日
数据结构 二叉树遍历
摘要:
阅读全文
posted @ 2022-02-02 14:59 AngDH
阅读(27)
评论(0)
推荐(0)
2022年1月22日
int 打印成32位
摘要: public class Temp { public static void print(int num) { for (int i = 31; i >= 0; i--) { System.out.print(((num & (1 << i)) == 0 ? "0" : "1")); } Syste
阅读全文
posted @ 2022-01-22 17:42 AngDH
阅读(68)
评论(0)
推荐(0)
2022年1月17日
节点属性们做浅层检查
摘要: 对节点的属性们做浅层检查: BinaryExpression(path) { if (t.isIdentifier(path.node.left, { name: "n" })) { // ... } } 功能上等价于: BinaryExpression(path) { if ( path.node
阅读全文
posted @ 2022-01-17 20:32 AngDH
阅读(37)
评论(0)
推荐(0)
2022年1月9日
js hook dom
摘要: var _appendChild = Node.prototype.appendChild; Node.prototype.appendChild = function(){ console.log("Hook appendChild"); return _appendChild(); }; Nod
阅读全文
posted @ 2022-01-09 13:38 AngDH
阅读(122)
评论(0)
推荐(0)
逗号表达式
摘要: const fs = require('fs'); const { parse } = require("@babel/parser"); const traverse = require("@babel/traverse").default; const types = require("@bab
阅读全文
posted @ 2022-01-09 13:21 AngDH
阅读(96)
评论(0)
推荐(0)
2022年1月7日
三元表达式转if
摘要: https://www.jianshu.com/p/a3857fa5c899 const fs = require('fs'); const { parse } = require("@babel/parser"); const traverse = require("@babel/traverse
阅读全文
posted @ 2022-01-07 21:24 AngDH
阅读(377)
评论(0)
推荐(0)
运算结果
摘要: https://www.jianshu.com/p/a3857fa5c899 const fs = require('fs'); const { parse } = require("@babel/parser"); const traverse = require("@babel/traverse
阅读全文
posted @ 2022-01-07 20:33 AngDH
阅读(65)
评论(0)
推荐(0)
作用域内变量替换
摘要: https://www.jianshu.com/p/a3857fa5c899 const fs = require('fs'); const { parse } = require("@babel/parser"); const traverse = require("@babel/traverse
阅读全文
posted @ 2022-01-07 20:08 AngDH
阅读(55)
评论(0)
推荐(0)
eval还原
摘要: const fs = require('fs'); const {parse} = require("@babel/parser"); const traverse = require("@babel/traverse").default; const t = require("@babel/typ
阅读全文
posted @ 2022-01-07 19:24 AngDH
阅读(88)
评论(0)
推荐(0)
2022年1月6日
收集ast文章
摘要: 逆向与采集 https://mp.weixin.qq.com/s/2YJwPFaDik0ITZAw5aDSAQ https://www.jianshu.com/p/a3857fa5c899 中文手册 https://github.com/jamiebuilds/babel-handbook/blob
阅读全文
posted @ 2022-01-06 21:41 AngDH
阅读(38)
评论(0)
推荐(0)
上一页
1
···
54
55
56
57
58
59
60
61
62
···
124
下一页
公告