memesearch
Using Claß Instead of Class

Using Claß Instead of Class

Download Find similar pictures
Text on the meme
[AskJS] Anyone else use `claß` as a variable name since you can't use `class`? AskJS const claß = "foo"; const element = <div class={claß}></div>; Surely I am not the first? No wtf
What it means

A Reddit JavaScript post shows someone using the German letter ß in a variable name, writing `claß` instead of `class` to avoid the reserved keyword. The joke is that this is an absurd and needlessly confusing workaround, immediately rejected by the commenter with “No wtf.” EN: A Reddit JavaScript post shows someone using the German letter ß in a variable name, writing `claß` instead of `class` to avoid the reserved keyword. The joke is that this is an absurd and needlessly confusing workaround, immediately rejected by the commenter with “No wtf.”

Objects
Tags
Source
Template
Reddit screenshot
Type
image
Size
677×800 · 50.5 KiB
Mood
absurd, sarcastic
Language
en
Added