Christian, Coder, Creator...
I'm a full-stack web dev, I love JS; HTML and CSS are fun too.
I like to make API things with Node.js as well. I'm learning Python.
Feel free to message me! 👋
Christian, Coder, Creator...
I'm a full-stack web dev, I love JS; HTML and CSS are fun too.
I like to make API things with Node.js as well. I'm learning Python.
Feel free to message me! 👋
That would print milk as far as I know. And if you pseudocode this up to other languages it will (for most) also work the same. It only depends if the implementation starts at 0 or 1.
If you don't get it, it's funny because JS arrays begin at 0.
any language's arrays begin at 1?
Lua.
aha, that is really fun
Lua
Lua "arrays"* begin at 1
* Lua doesn't really have "arrays", but sequences are functionally the same thing, and those start at 1
In java you can do something like this:
That would print milk as far as I know. And if you pseudocode this up to other languages it will (for most) also work the same. It only depends if the implementation starts at 0 or 1.
smalltak
sounds like small talk.
Pascal's did as I recall, but it's been over 40 years now.
Uhm, no, JS arrays start at
"0", actually.There's your daily cursed JS fact, enjoy.