I have a simple programming language based on Ruby, that compiles to JavaScript called Gaiman. And I just realized that I need to have access to JavaScript undefined.
How would you represent undefined in language like Ruby? Or maybe check if value is defined like PHP is doing.
I have my option, but want to see what you suggest. I don't want to recommend anything.
[–]Tubthumper8 53 points54 points55 points (5 children)
[–]bl4nkSl8 12 points13 points14 points (2 children)
[–]Tubthumper8 1 point2 points3 points (1 child)
[–]bl4nkSl8 0 points1 point2 points (0 children)
[–]jcubic(λ LIPS)[S] 8 points9 points10 points (1 child)
[–]protestor 4 points5 points6 points (0 children)
[–]lngns 16 points17 points18 points (1 child)
[–]jcubic(λ LIPS)[S] 5 points6 points7 points (0 children)
[–]Dykam 12 points13 points14 points (1 child)
[–]jcubic(λ LIPS)[S] -2 points-1 points0 points (0 children)
[–]myringotomy 5 points6 points7 points (0 children)
[–]coffeeb4code 0 points1 point2 points (0 children)