feat: init

This commit is contained in:
Rogee
2024-09-30 11:02:26 +08:00
parent 679759846b
commit 694dfd2a4f
90 changed files with 6046 additions and 15 deletions

6
robot/test.js Normal file
View File

@@ -0,0 +1,6 @@
// random char/num 16 length
const id = "1234567890abcdef"
let deviceID = id.toUpperCase()
// cut deviceID per 4 char with -, no regexp
deviceID = deviceID.slice(0, 4) + "-" + deviceID.slice(4, 8) + "-" + deviceID.slice(8, 12) + "-" + deviceID.slice(12, 16)
console.log(deviceID)