1
0

docs: 移动说明信息至 README

This commit is contained in:
2022-09-12 16:09:12 +08:00
parent e7303138bb
commit 31880d494e
2 changed files with 20 additions and 9 deletions
-8
View File
@@ -1,13 +1,5 @@
// priority: 100
// 注意事项:
// - 暂不支持解构赋值(2022-08-28
// - 暂不支持设置函数参数默认值(2022-08-28)
// - 暂不支持 try catch2022-08-28
// 自定义方块:
// https://mods.latvian.dev/books/kubejs/page/custom-blocks
global.defaults = function (v, d) {
(typeof d === 'undefined') && (d = null);
return ((typeof v === 'undefined' || v === null) ? d : v);