docs: 移动说明信息至 README
This commit is contained in:
@@ -1,13 +1,5 @@
|
||||
// priority: 100
|
||||
|
||||
// 注意事项:
|
||||
// - 暂不支持解构赋值(2022-08-28)
|
||||
// - 暂不支持设置函数参数默认值(2022-08-28)
|
||||
// - 暂不支持 try catch(2022-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);
|
||||
|
||||
Reference in New Issue
Block a user