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
const avengersNames = ['Thor', 'Cap', 'Tony Stark', 'Black Panther', 'Black Widow', 'Hulk', 'Spider-Man']; | |
let randomName = avengersNames[Math.floor(Math.random() * avengersNames.length)] | |
var config = function (){ | |
return JSON.parse(decodeURIComponent(document.location.search.split('=')[1])) | |
}() |