Ragdoll X@lemmy.world to Microblog Memes@lemmy.worldEnglish · 7 个月前Al-generated content. You read that wrong.lemmy.worldimagemessage-square82fedilinkarrow-up11.12Karrow-down116
arrow-up11.11Karrow-down1imageAl-generated content. You read that wrong.lemmy.worldRagdoll X@lemmy.world to Microblog Memes@lemmy.worldEnglish · 7 个月前message-square82fedilink
minus-squareGTG3000@programming.devlinkfedilinkEnglisharrow-up10·edit-27 个月前On 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 个月前Simply pasting the string would give you the answer as the console uses a programming font
minus-squareGTG3000@programming.devlinkfedilinkEnglisharrow-up2·7 个月前Fair, but I’m trying to trick them into learning js here :P
minus-squareGTG3000@programming.devlinkfedilinkEnglisharrow-up1·7 个月前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”.
minus-square𝙲𝚑𝚊𝚒𝚛𝚖𝚊𝚗 𝙼𝚎𝚘𝚠@programming.devlinkfedilinkEnglisharrow-up2·7 个月前Why would you do such a horrible thing?
minus-squareGTG3000@programming.devlinkfedilinkEnglisharrow-up1·7 个月前Well, ignoring the mire of ancient bad idea compatibility, it’s nice to just have a REPL wherever you have a browser.
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
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”.
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.