Skip to content

Instantly share code, notes, and snippets.

@aarongough
Created April 13, 2010 22:17
Show Gist options
  • Save aarongough/365177 to your computer and use it in GitHub Desktop.
Save aarongough/365177 to your computer and use it in GitHub Desktop.
if( object.property )
{
var result = object.property;
}
else
{
var result = object.otherProperty;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment