const array = ["Johnny", "Billy", "Sandy"] const newObject = Object.assign({}, array) // newObject = { "0": "Johnny", "1": "Billy", "2": "Sandy" }