Ragdoll X@lemmy.world to Microblog Memes@lemmy.worldEnglish · 7 months agoAl-generated content. You read that wrong.lemmy.worldimagemessage-square79fedilinkarrow-up11.1K
arrow-up11.1KimageAl-generated content. You read that wrong.lemmy.worldRagdoll X@lemmy.world to Microblog Memes@lemmy.worldEnglish · 7 months agomessage-square79fedilink
minus-squareGTG3000@programming.devlinkfedilinkEnglisharrow-up9·edit-27 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·7 months agoSimply pasting the string would give you the answer as the console uses a programming font
minus-squareGTG3000@programming.devlinkfedilinkEnglisharrow-up2·7 months agoFair, but I’m trying to trick them into learning js here :P
minus-square𝙲𝚑𝚊𝚒𝚛𝚖𝚊𝚗 𝙼𝚎𝚘𝚠@programming.devlinkfedilinkEnglisharrow-up2·7 months agoWhy would you do such a horrible thing?
minus-squareGTG3000@programming.devlinkfedilinkEnglisharrow-up1·7 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·7 months agoAt least trick them into leaning ts.
minus-squareGTG3000@programming.devlinkfedilinkEnglisharrow-up1·7 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”.