creating calculator
let operatorsArray = document.querySelectorAll('.operator')
function bgColor(a){
let bgColorValue = window.getComputedStyle(a)
return bgColorValue.backgroundColor == "white"
}
console.log(operatorsArray.some(bgColor)) let operatorsArray = document.querySelectorAll('.operator')
function bgColor(a){
let bgColorValue = window.getComputedStyle(a)
return bgColorValue.backgroundColor == "white"
}
console.log(operatorsArray.some(bgColor))