{"ScriptPreparationCode":"// Using Math.random and Base 36:\r\nconsole.log(Math.random().toString(36).slice(-5));\r\n\r\n// Using new Date and Base 36:\r\nconsole.log((\u002Bnew Date).toString(36).slice(-5));\r\n\r\n// Using Math.random and Base 64 (btoa):\r\nconsole.log(btoa(Math.random()).slice(0, 5));\r\n\r\n// Using new Date and Base 64 (btoa):\r\nconsole.log(btoa(\u002Bnew Date).slice(-7, -2));\r\nconsole.log(btoa(\u002Bnew Date).substr(-7, 5));","TestCases":[{"Name":"Math.random().toString(36).slice(-5)","Code":"Math.random().toString(36).slice(-5)","IsDeferred":false},{"Name":"(\u002Bnew Date).toString(36).slice(-5)","Code":"(\u002Bnew Date).toString(36).slice(-5)","IsDeferred":false},{"Name":"btoa(Math.random()).slice(0, 5)","Code":"btoa(Math.random()).slice(0, 5)","IsDeferred":false},{"Name":"btoa(\u002Bnew Date).slice(-7, -2)","Code":"btoa(\u002Bnew Date).slice(-7, -2)","IsDeferred":false},{"Name":"btoa(\u002Bnew Date).substr(-7, 5)","Code":"btoa(\u002Bnew Date).substr(-7, 5)","IsDeferred":false}]}