I found this part of an answer really confusing. Most of the answers are special cases of some basic rules, such as the "333" + "222" == "333222" but "333" - "222" = 111
of javascript, where using +
for string concatenation is useful.
$[
— change your array base from 0-based to 1-based to 42-based: WHEEE!
What's the use case for 42-based array indexing? Just a Hitchhiker's guide to the galaxy reference / incredibly evil easter egg, or actually useful?
If you do
$[ = 42
you set the "base" of your array indexing to 42; so the first element of an array can be requested by doing
$something[42]
instead of
$something[0]
Obviously this is immensely helpful if you want to, or you need to, or your is just that but also can't. Therefore, it was deprecated to the ninth circle of deprecation hell.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With