code added

This commit is contained in:
2023-04-24 18:37:05 +05:30
parent edd3113258
commit d70c0637c2
8 changed files with 353 additions and 197 deletions
+8
View File
@@ -3,6 +3,14 @@ const uid = function(){
return Date.now().toString(36) + Math.random().toString(36).substr(2);
}
function shuffleArray(array) {
for (let i = array.length - 1; i > 0; i--) {
const j = Math.floor(Math.random() * (i + 1));
[array[i], array[j]] = [array[j], array[i]];
}
}
function getCurrencySymbol(value=0) {
let type = 'INR'
if (type) {