first commit

This commit is contained in:
2025-10-10 18:00:07 -04:00
commit 06b59a3a99
3786 changed files with 571590 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
/*
const obj = {} みたいなの
arg.constructor===Object でもよさそう。
2020.11.08
Object#__proto__ => Object.getPrototypeOf()
*/
function isObjectLiteral(arg){
return Object.getPrototypeOf(arg)===Object.prototype;
}
export default isObjectLiteral;