I ran into this exact scenario with an acquaintance on Facebook back when I engaged in such silly endeavors.
Her name was Al and I couldn’t figure out for the life of me if it was Al or AI. I think I finally did ask, but damn I could NOT figure it out on my own. I suppose there must’ve been some way to copy paste it into word and configure to all caps, but the thought never occurred to me.
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”.
I ran into this exact scenario with an acquaintance on Facebook back when I engaged in such silly endeavors.
Her name was Al and I couldn’t figure out for the life of me if it was Al or AI. I think I finally did ask, but damn I could NOT figure it out on my own. I suppose there must’ve been some way to copy paste it into word and configure to all caps, but the thought never occurred to me.
On PC, you can open the browser console and type in
("your string").toUpperCase()
it’s usually on F12.
>> "Al".toUpperCase() <- "AL"
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.
https://www.fontspace.com/unicode/analyzer
Pasting into notepad is good enough, where I and l actually look different.
I always copy just the I, l, or rarely | and search for it with any search engine. It usually clears it up
https://convertcase.net/
The uppercase ‘i’ and the lowercase ‘L’ each have to enter the Thunderdome, and have just one emerge alive.