mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
Use Array.prototype.length to avoid magic number
This commit is contained in:
parent
bea60a86ea
commit
de01a1d51a
@ -1,6 +1,8 @@
|
||||
export default () => [
|
||||
const kaos = [
|
||||
'(=^・・^=)',
|
||||
'v(\'ω\')v',
|
||||
'🐡( \'-\' 🐡 )フグパンチ!!!!',
|
||||
'🖕(´・_・`)🖕'
|
||||
][Math.floor(Math.random() * 4)];
|
||||
'🖕(´・_・`)🖕',
|
||||
];
|
||||
|
||||
export default () => kaos[Math.floor(Math.random() * kaos.length)];
|
||||
|
Loading…
Reference in New Issue
Block a user