cw screenreader unfriendly

not many people know about this really cool javascript feature that i use a lot

function test(t) { return t + " :3" }
test`:3`
=> ":3 :3"

comments (single view)

you should have done return `${t} :3` because it does the same thing and is just as readable but takes up less space

who cares it literally does not matter for the example. the variable is literally called t in the example do you think i cared about readability just to show off cool features? not really, it’s still just as readable to write t + " :3"

programmer beef

i don’t even get it like there was no need for him to say that, it doesn’t matter

View all comments