You cannot have a string argument, arguments and variables in JS don't have a type. All you have in JS is objects. Actual functions, like full on function foo(){}
are still objects, like you can actually store data on the things.
Traister101
JavaScript doesn't have typed parameters or variables. The function expects a string and does things in the function body which converts the object into a string. JS shares this behavior with all dynamically typed languages and it's extremely useful in some contexts and extremely frustrating in others. It's down to what it's being used for. Dynamic languages make excellent scripting languages, see Python really just being a souped up shell lang
You have argued that it's expected to be a string congrats. You'll notice from the grammer you used that there isn't an actual type here, you specifically pointed out how your IDE displays a type hint which is only slightly better than somebody writing some form of documentation on what the type is. Dynamic languages don't have typed args, least none that I've heard of.
It's not a string argument though, it's JS. You can argue it's expected to be a string but like the rest of JS all you can know from the signature alone is that it takes an object. Hopefully your little ducky quacks the right way!
They're supposed to but well, you know
We don't "improve" diseases to make them deadilier and then just release them. The point of gain of function research essentially boils down to "How quickly can this disease become a serious issue and what do we expect that to look like?" with covid, thanks to gain of function research we knew it would quickly mutate and decrease in severity and we could significantly reduce harm by slowing the spread until it got to the point it's at today.
Subs are usually on screen for as long as people are saying the words. When they talk quickly they go by quickly. Also it just depends? There's a bunch of different Re:Zero subs a particular legal one standing out as being awful (good ol Crunchyroll). You probably just read slowly, you'll speed up with practice
Even Java has streams and stuff. Course Java so it's kind of weird (iterators are mutable and internally iterate the collection/whatever lazily) streams are lazy and only go through all the operations, mapping, filtering ect when you collect the elements somehow (like rust). JS is wild lol
Honestly, as a sane person yes I do like honest Nazis more than lying Nazis. But do you know what I like more than honest Nazis? People who aren't a Nazi, I like those way the fuck more than honest Nazis which apparently puts us in the minority in this shit hole of a county
I find it unfair to blame my peers for things largly out of their control. If you are born into an abusive family you'll only ever know if you happen to luck into the information that such behavior is unhealthy. Is it some of their faults? Certainly, I know people who are willfully stupid and refuse to learn but even knowing these people I feel pretty uncomfortable blaming them for it. I've talked to them, I've educated them on stuff they were willfully ignorant of and do you know what it generally boils down to? School has taught them that learning things is hard and a waste of their time. They'd rather waste hours trying to get an LLM to generate a script for them than sit down and figure out how to do it despite knowing I'd happily help them.
School has managed to taint "learning" in the minds of many of my peers to such an extent that it should be avoided at any cost. School has failed us, is still failing the current generation and nothing is going to be done about it because it's working as it's meant to. This is the intended outcome. Like genuinely the scale of the fuckup is to the extent that enjoying reading is not just rare but seen as weird. We've managed to take one of the best ways to educate yourself and instill dread in our children when it's brought up. How do we expect people who've been taught to hate reading to just magically turn around and unfuck themselves? What'd they see a really motivating Tik Tok or some shit? I despise that platform but like seriously you older people just don't it man. Been complaing since middle school and now people wanna turn around and blame us as if it's some personal failing it's fucked up dude. Our education sucks, has sucked and will continue to suck even worse until we stop pretending like this is some kind of personal failing.
The main point here (which I think is valid despite my status as a not in this group Gen Z) is that we're still like really young? I'm 20 dude, it's just not my or my friends fault that school failed us. The fact it failed us was by design and despite my own and others complaints it's continued to fail the next generation and alpha is already, very clearly struggling. I really just don't think there's much ground to argue about how Gen Z by and large should somehow know better. The whole point of the public education system is to ensure we well educate our children, it's simply not my or any child's fault that school is failing to do so. Now that I'm an adult I can, and I do push for improved education but clearly people like me don't have our priorities straight seeing who got elected...
I can't judge but wow. Impressive