//引数の型を返す const typeOf=arg=>Object.prototype.toString.call(arg).slice(8,-1); //Ajaxでファイルを読み込み文字のエンコードをして返す const fileLoader=async(path,enc)=>new TextDecoder(enc).decode(await(await fetch(path)).arrayBuffer()); //Ajaxでjsonファイルを得る const Ajax=async(path,prm={})=>(await(await fetch(path,{method:'post',b…