This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function saySorry () { | |
const start = 1; | |
const maxIteration = 10000; | |
const timeInitial = performance.now(); | |
const nth = ["零", "一", "二", "三", "四", "五", "六", "七", "八", "九"]; | |
const nunit = ["万", "亿"].reduce((units, unitGroup) => units.concat(units.map((unit) => unit + unitGroup)), ["", "十", "百", "千"]); | |
const filename = "检查书.txt"; | |
const sorry = []; | |
for (let i = start; i < maxIteration; i++) { | |
sorry.push(`对不起 第${Array.from(i.toString()) |
NewerOlder