// ã©ã³ãã ã«è¦ç´ ãåãåºãé¢æ° const randomPick = (items) => { const index = Math.floor(items.length * Math.random()); return items[index]; }; randomPick("123456"); // 1ã6ã®ã©ãã // æååã®ç¯å²ãå±éããé¢æ° const expandCharRange = (str) => str.replace(/.-./g, (range = 'a-z') => { // ãã¤ãã³ãæãã æååãå ¨ã¦ç½®æ const first = range.codePointAt(0); // 1æåç®ã®æåã³ã¼ã const last = range.codePointAt(2); // 2æåç®ã®æåã³ã¼ã const length = last - first
{{#tags}}- {{label}}
{{/tags}}