From the error message in the blocks editor (screenshot below), it appears that a Boolean variable can be created by setting the variable to true or false initially. But the console log block with a value will not accept that as a parameter even though the variable declaration appears legal:
Code: Select all
let aBoolean = true
forever(function () {
console.logValue("aBoolean", aBoolean)
})
Does anyone have any advice? This seems like a bug; wondering where to report that if it is?
Code shared here: https://makecode.com/_UrTR0DKk91Xm