porffor
porffor copied to clipboard
Strings don’t concatenate in native?
I’m pretty confused by this bug, please excuse me if this was already reported I did check but I find it likely there’s another case where similar occurs in different conditions that I may not have found in searching for existing issues.
const h = "hi " + 1
console.log(h)
here’s a pretty basic example. for me, this logs nothing at all.
What I find confusing though is that if I log the length of h it’s correct, in this case 4
. So I don’t know how the logging is blank? Logging other things works fine.
running through porf run
works as expected, as far as I can tell this is limited to porf native
.