会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
流星曳尾
博客园
首页
新随笔
联系
订阅
管理
2025年5月6日
websocket连接失败
摘要: 可能是因为客户端打开的webSocket被关闭了。(生命周期结束,ws的变量被删掉)
阅读全文
posted @ 2025-05-06 16:42 流星曳尾
阅读(48)
评论(0)
推荐(0)
2025年4月22日
es6
摘要: ES6 教程 - JavaScript 教程 ES6 类 之前 function Person(name) { this.name = name; } Person.prototype.getName = function () { return this.name; }; var john = n
阅读全文
posted @ 2025-04-22 15:44 流星曳尾
阅读(5)
评论(0)
推荐(0)
2025年3月14日
ts里method和Function区别
摘要: method是类里的。Function是独立的
阅读全文
posted @ 2025-03-14 14:45 流星曳尾
阅读(3)
评论(0)
推荐(0)
2025年3月11日
完全二叉树
摘要: 根节点坐标为0,节点i的左子节点,2*i+1,右子节点,2*i+2 子节点坐标i, if (i % 2 == 0) {//右子节点 parent = i / 2 - 1; } else { parent = (i - 1) / 2; }
阅读全文
posted @ 2025-03-11 11:59 流星曳尾
阅读(7)
评论(0)
推荐(0)
2025年2月11日
leetcode二叉树看不到图
摘要: 点解答错误里的添加到测试用例
阅读全文
posted @ 2025-02-11 11:37 流星曳尾
阅读(5)
评论(0)
推荐(0)
2025年1月20日
贝塞尔曲线
摘要: 贝塞尔曲线 https://blog.csdn.net/e295166319/article/details/120363777
阅读全文
posted @ 2025-01-20 19:22 流星曳尾
阅读(12)
评论(0)
推荐(0)
2024年12月23日
学习ts和creator网站
摘要: // Learn TypeScript: // - https://docs.cocos.com/creator/manual/en/scripting/typescript.html (https://docs.cocos.com/creator/2.4/manual/en/scripting/t
阅读全文
posted @ 2024-12-23 11:37 流星曳尾
阅读(24)
评论(0)
推荐(0)
2024年12月18日
寻找数组中某个元素的坐标
摘要: /** * Returns the index of the first occurrence of a value in an array, or -1 if it is not present. * @param searchElement The value to locate in the
阅读全文
posted @ 2024-12-18 15:07 流星曳尾
阅读(9)
评论(0)
推荐(0)
2024年12月17日
skeleton 的setCompleteListener。每次动画结束都会执行
摘要: clearTracks也删不掉
阅读全文
posted @ 2024-12-17 15:08 流星曳尾
阅读(53)
评论(0)
推荐(0)
2024年11月29日
ts的方法的参数可以用数组(惊讶!)
摘要: fangFa([a, b]){ } this.fangFa([1,2]);
阅读全文
posted @ 2024-11-29 16:52 流星曳尾
阅读(9)
评论(0)
推荐(0)
下一页
公告