restructuring of stdlibs

This commit is contained in:
2025-01-24 22:37:52 +02:00
parent f16d088646
commit 3c4d05abd4
18 changed files with 293 additions and 187 deletions

View File

@@ -0,0 +1,13 @@
import { print, self, symbol } from "../stdlib/primordials.ts";
import { Object } from "../stdlib/values/object.ts";
self.Object = {
defineProperty: function (obj, key, desc) {
if (obj == null) return obj;
Object.defineProperty(obj, key, desc);
}
};
export default function _classPrivateFieldLooseKey(key) {
return symbol.makeSymbol(key);
}