Ragdoll X@lemmy.world to Microblog Memes@lemmy.worldEnglish · 8 months agoAl-generated content. You read that wrong.lemmy.worldimagemessage-square82fedilinkarrow-up11.11Karrow-down116
arrow-up11.1Karrow-down1imageAl-generated content. You read that wrong.lemmy.worldRagdoll X@lemmy.world to Microblog Memes@lemmy.worldEnglish · 8 months agomessage-square82fedilink
minus-squareGTG3000@programming.devlinkfedilinkEnglisharrow-up10·edit-28 months agoOn PC, you can open the browser console and type in ("your string").toUpperCase() it’s usually on F12. >> "Al".toUpperCase() <- "AL"
minus-squarefidodo@lemmy.worldlinkfedilinkEnglisharrow-up6·8 months agoSimply pasting the string would give you the answer as the console uses a programming font
minus-squareGTG3000@programming.devlinkfedilinkEnglisharrow-up2·8 months agoFair, but I’m trying to trick them into learning js here :P
minus-square𝙲𝚑𝚊𝚒𝚛𝚖𝚊𝚗 𝙼𝚎𝚘𝚠@programming.devlinkfedilinkEnglisharrow-up2·8 months agoWhy would you do such a horrible thing?
minus-squareGTG3000@programming.devlinkfedilinkEnglisharrow-up1·8 months agoWell, ignoring the mire of ancient bad idea compatibility, it’s nice to just have a REPL wherever you have a browser.
minus-squarefidodo@lemmy.worldlinkfedilinkEnglisharrow-up2·8 months agoAt least trick them into leaning ts.
minus-squareGTG3000@programming.devlinkfedilinkEnglisharrow-up1·8 months agoMan, I wish you could just use TS without some kind of preprocessor. But I also wish JS had less footguns like “oh, this function returns an array-like object that has half of array methods… But not the one you want right now”.
On PC, you can open the browser console and type in
it’s usually on F12.
Simply pasting the string would give you the answer as the console uses a programming font
Fair, but I’m trying to trick them into learning js here :P
Why would you do such a horrible thing?
Well, ignoring the mire of ancient bad idea compatibility, it’s nice to just have a REPL wherever you have a browser.
At least trick them into leaning ts.
Man, I wish you could just use TS without some kind of preprocessor.
But I also wish JS had less footguns like “oh, this function returns an array-like object that has half of array methods… But not the one you want right now”.