how to make a if loop happen one code example
Example: how to make a if loop happen one
let switch = true
if ( switch = true && other criteria) {
// the code
switch = false
}
let switch = true
if ( switch = true && other criteria) {
// the code
switch = false
}