This file contains 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
const fs = require('fs') | |
function createKanji() { | |
const arr = []; | |
for (let i = 0x4e00; i < 0x9faf; i++) { | |
arr.push(String.fromCharCode(i)); | |
} | |
const sortedChars = arr.sort(Intl.Collator('ja-JP').compare); | |
const level1Kanji = sortedChars.slice(0, 2965); | |
const level2Kanji = sortedChars.slice(2965, 6355); |
This file contains 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
const fs = require('fs'); | |
function createPseudonym (params) { | |
let start = 12354; | |
const arr = []; | |
for (let index = 0; index < 185; index++) { | |
const word = String.fromCharCode(start++); | |
arr.push(word); | |
} | |
fs.writeFileSync('./pseudonym.txt', arr); |
This file contains 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
<template> | |
<el-popover | |
ref="popoverRef" | |
:virtual-ref="triggerRef" | |
trigger="click" | |
virtual-triggering | |
:visible="visible" | |
popper-class="popper-class" | |
> | |
<slot></slot> |