[TIMOB-13293] CodeProcessor: Unary prefixed operations don't respect unknown values
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Critical |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2013-04-01T18:14:49.000+0000 |
| Affected Version/s | Release 3.0.0 |
| Fix Version/s | Release 3.1.0, 2013 Sprint 07 JS, 2013 Sprint 07 |
| Components | Code Processor |
| Labels | n/a |
| Reporter | Bryan Hughes |
| Assignee | Praveen Innamuri |
| Created | 2013-04-01T18:07:54.000+0000 |
| Updated | 2017-03-09T00:31:41.000+0000 |
Description
Unary prefix operations don't respect unknown values. For example:
var x = !(Date.now());
should set x to unknown, but sets it to true instead.
Closing ticket as fixed.