Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 337 Bytes
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.