making creation in `lib.creation`.

This commit is contained in:
Rintim 2023-09-27 14:12:51 +08:00
parent a2cbab4a25
commit e956795953
1 changed files with 14 additions and 1 deletions

View File

@ -7773,7 +7773,20 @@
return true;
}
},
creation:{},
creation:{
get array(){
return [];
},
get object(){
return {};
},
get nullObject(){
return Object.create(null);
},
get string(){
return "";
}
},
linq:{
cselector:{
hasAttr:name=>`[${name}]`,