Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Oh nice, it automatically turns if (value == undefined) value = something statements into a null coalescence. This is going to save me quite a bit of typing.

Indeed! It will auto-collapse any if (a == undefined) a = pattern so long as it has consistent spacing, so

if(value==undefined)value=something
if(value==undefined)value= something
if (value == undefined) value = something
if  (value  ==  undefined)  value  = something

are all valid.