mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-10-23 10:46:13 +02:00
Add sidebar layout
This commit is contained in:
6
client/helpers/shuffe.js
Normal file
6
client/helpers/shuffe.js
Normal file
@@ -0,0 +1,6 @@
|
||||
const shuffe = (array) => {
|
||||
array.sort(() => Math.random() - 0.5);
|
||||
return array;
|
||||
};
|
||||
|
||||
export default shuffe;
|
Reference in New Issue
Block a user