Results 32 comments of Michael Hunter

Ah. Honestly, I didn't even think of that one. The operators like `**`, `*`, `/`, `%`, and `-` all coerce their operands to numbers. It didn't occur to me that...

Yeah, it's a similar story. But unlike arrays, Microvium does not have a mechanism to self-reflect on the content of its own strings. The reason for this is that strings...

Ok, I'll take a look at it. I propose the following solution: 1. I will add in a builtin string prototype object and global `String` object. The global `String` object...

Hi. Sorry, my 2-year-old started going to childcare earlier in the year and suddenly started catching all these viruses from the other kids and has been sick almost constantly since...

WIP - the branch `65-string-methods` has support for `str.length` and `str[i]` if the strings are only ASCII. Unicode support is a rabbit hole and I'll need to resume it another...

Sorry, this isn't likely to happen any time soon. I'm swamped with other things. If anyone else wants to pick up this work and contribute or help, the branch is...

How important are the string prototype methods? I'm encountering multiple problems in the implementation. The first is that I don't want to force a whole object to be allocated in...

My guess is that it's hoisted both var declarations separately rather than merging them. What are you trying to achieve with this code?

Ok, thanks for pointing it out. I've added it to the to-do list.

Is it correct to say that application code can avoid being a victim of the breaking change by just always using `import` instead of `importNow`?