Last active
March 4, 2024 08:49
-
-
Save mbparvezme/4c8270389f8da89fce38a3e73e409f74 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Marge and overright two objects | |
export let data: DataType = {} | |
let D: DataType = { | |
name : "M B Parvez: Full-stack specialist - UI/UX developer", | |
title : "" | |
} | |
D = { ...D, ...data } | |
// Get current URL from browser | |
var e = window.location.href.split(/[?#]/)[0]; | |
// Date.now().toString(36) returns a 8 chars string in a sequence of time | |
var str = (Date.now().toString(36) + '_' + Math.random().toString(36).substr(2, 4)) + Math.random().toString(36).substr(2, 8); | |
console.log(str); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment