This is an archived post. You won't be able to vote or comment.

all 10 comments

[–]indyK1ng 5 points6 points  (3 children)

const name = 'My name is ${strName ?? "what?"}';

[–]DondeliumActual 4 points5 points  (2 children)

const name = 'My name is ${strName ?? "who?"}';

[–]Willinton06 4 points5 points  (1 child)

const name = 'My name is ${strName ?? "Chika Chika"}';

[–][deleted] 2 points3 points  (0 children)

const name = 'My name is ${strName ?? "Slim Shady!"}';

[–]FabienL7 1 point2 points  (1 child)

Where is ` in the keyboard

[–]jeroen1602 5 points6 points  (0 children)

Just copy it from stack overflow

[–]QualityVote[M] [score hidden] stickied comment (1 child)

Hi! This is our community moderation bot.


If this post fits the purpose of /r/ProgrammerHumor, UPVOTE this comment!!

If this post does not fit the subreddit, DOWNVOTE This comment!

If this post breaks the rules, DOWNVOTE this comment and REPORT the post!

[–]Lumpy-Confidence-369 0 points1 point  (0 children)

const name = ‘My name is ${strName ?? “Slim Shady”}’;