[TIMOB-13941] iOS: Titanium console.log should not output <null> instead of undefined
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Duplicate |
| Resolution Date | 2016-08-29T22:42:30.000+0000 |
| Affected Version/s | Release 3.2.0 |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | n/a |
| Reporter | Mitchell Amihod |
| Assignee | Eric Merriman |
| Created | 2013-05-21T01:30:26.000+0000 |
| Updated | 2017-03-21T22:49:48.000+0000 |
Description
var foo = {};
console.log(foo.x);
Expecting console.log to output undefined, instead shows
Tested and confirmed on iOS 6 simulator with Ti SDK 3.2 CI.
This is not a CLI bug. The iOS code is writing all "undefined" values as
Dupe of TIMOB-11614.
Closing ticket as duplicate with reference to the above comments.