I want to randomize the popping of the list of the baby variable, but it's only popping the baby[1].
<body>
    <h1 id="1">bebe</h1>
    <h1 id="2">tae</h1>
    <script>
        var baby = [document.getElementById('1').innerText, 
        document.getElementById('2').innerText]
        bot = Math.floor(Math.random() * baby.length)
        if (bot == 0) {
            baby.pop(0)
        }
        if (bot == 1) {
            baby.pop(1)
        }
        console.log(baby)
    </script>
</body>
 
     
     
    