ECMAScript仕様輪読会 #87
前回: ECMAScript仕様輪読会 #86
Cosenseの招待リンク: https://scrapbox.io/projects/esspec/invitations/85b96c9fa718ce5185e307196ed8fb53
connpass: https://esspec.connpass.com/
Discord: https://discord.gg/59S3y6weQj
ES Spec Draft: https://tc39.es/ecma262/
multipage: https://tc39.es/ecma262/multipage/
資料: https://speakerdeck.com/syumai/ecmascriptshi-yang-wodu-munonibi-yao-nazhi-shi-daiziesutoban
読み物リスト
Twitter hashtag: #esspec
便利ツール
esspec-memo: https://tars0x9752.github.io/esspec-memo/esspec.html
Scrapbox Codeblock Generator: https://vzvu3k6k.github.io/scrapbox-codeblock/
TC39 Terminology: https://github.com/tc39/how-we-work/blob/main/terminology.md
esmeta playground: https://es-meta.github.io/playground/
時事ネタ
TSKaigi Hokuriku
9/29まで
https://tskaigi.hatenablog.com/entry/2025/08/05/112439
自己紹介 (近況報告)
syumai syumai.icon
Twitter: https://twitter.com/__syumai GitHub: https://github.com/syumai
Go / TSを書いて暮らしてます
Workers Tech Talk Hokkaidoと、フロントエンドカンファレンス北海道がありました
https://speakerdeck.com/syumai
今週、フロントエンドカンファレンス東京があります
iwatsurut
とくに、イベントもなく過ごしています。
igrep(山本悠滋)
https://github.com/igrep/
Linux on Android、Pixel 6でもとりあえず趣味プロジェクトの開発環境なら動かせた。次回の旅行はノートPCなしでiPadとPixel 6をつないでやりたい
前回のあらすじ
https://claude.ai/share/021aa566-0136-4ac6-b46b-8be6d3f9af50
今回のメモ
code:js
const np = Number.prototype;
console.log(Number(np)); // 0
console.log(np.valueOf()); // 0
console.log(np + 1); // 1
console.log(Object.getPrototypeOf(np) === Object.prototype); // true
decimal exponential notation
https://en.wikipedia.org/wiki/Scientific_notation
21.1.3.2
NOTE: f ではなく ff を使わないと 10.b.ii と整合性がとれない
toFixed
2つのstepを分けている
4. If f is not finite, throw a RangeError exception.
5. If f < 0 or f > 100, throw a RangeError exception.
一方、toExponentialでは分けていない
意図があるのか?
https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/Number/toLocaleString
インド語では -> インドでは