Hacker News new | ask | show | jobs
by mraison 4101 days ago
> like any other programming language

some real-world programming languages don't have undefined variables :)

1 comments

Since the variable he shows is used in a string interpolation, it doesn't have to be undefined.

Being the emptys string "" would work just as well.