The REST API’s return value for the continent object will change in the near future. The continent_code
field is being renamed to code
. The JavaScript API will support both names going forward. However, the continent_code
property will be supported with accessor methods added via the Object.defineProperty
API. This property is not enumerable, so it will not show up in code that enumerates properties with a for (var prop in object) { ... }
loop.