Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (13 sloc) 0.337 kB
billTo = {}
billTo.street = "111 Bill To St."
billTo.city = "Bill To City"
shipTo = {}
shipTo.street = "222 Warehouse Bldv."
# shipTo.city = "Ship To City"
shipTo.attn =
name: "John Doe"
title: "Mr."
city = shipTo?.city ? billTo.city
console.log "City: #{city}"
# attn = shipTo?.attn?.name ? "N/A"
# console.log "Attn: #{attn}"
Jump to Line
Something went wrong with that request. Please try again.