Working on advanced calculator with JavaScript but the delete function is not working
input.value = input.value.slice(0, -1)
it was supposed to delete one value, but it just turned the entired input to a string and totally made my input invalid
Working on advanced calculator with JavaScript but the delete function is not working
input.value = input.value.slice(0, -1)
it was supposed to delete one value, but it just turned the entired input to a string and totally made my input invalid
Copyright © 2021 Jogjafile Inc.
Many different ways to do this, the first that comes to mind is doing this: