JS pop dopasowana wartość w tablicy

<script type="text/JavaScript">

    var arr = [5, 15, 110, 210, 550];
    var index = arr.indexOf(210);

    if (index > -1) {
       arr.splice(index, 1);
    }

</script>
Modern Mouse