Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
shrimpx
· 4y ago · 0 comments
Hi {recruiter_name or ""},
This should be
Hi{" " + recruiter_name or ""},
Comments
[–]
brainfish
4y ago
This would return the same result since `" "` (and thus `" " + recruiter_name`) is truthy. You could use a ternary or something, though.