I don’t think I ever mentioned https://snippet.zone here. It’s just another actionsnippet-like site I created a few years ago… I don’t update it all that frequently but it has many snippets mostly written in js.
recent fork of a snippet.zone that I used in a short…
Here’s a short showing something I did for genuary 2022…
let spec ={
get:(o, key)=>{return o[key]!=null? o[key]: o[key]= O();},
set:(o, key, v)=>{
o[key]= v;}};
let O =()=>{returnnew Proxy({}, spec);};
let dynamic = O();
dynamic.prop.creation='is interesting';
dynamic.prop.stuff.not.clear.what.this.could.be.used.for=123;// log out full structure
let f =(o)=>{for(let i in o){
console.log(o[i]);if(typeof o[i]==='object') f(o[i]);}};
f(dynamic);