I am trying to use an array in my code but I am getting an error message that says pop is not defined. I want to remove the number 50 from the array.
Here is what I tried:
let digits = [5,25,50,100]
let allDigits = digits
allDigits[pop](50)
I am trying to use an array in my code but I am getting an error message that says pop is not defined. I want to remove the number 50 from the array.
Here is what I tried:
let digits = [5,25,50,100]
let allDigits = digits
allDigits[pop](50)
Copyright © 2021 Jogjafile Inc.