Explain The If Else In Javascript Formatter