porffor icon indicating copy to clipboard operation
porffor copied to clipboard

Strings don’t concatenate in native?

Open hazycora opened this issue 5 months ago • 0 comments

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.

hazycora avatar Aug 30 '24 15:08 hazycora