963d598dc1
* Add tests for optional chaining and nullish coalescing * Add integration tests
9 lines
198 B
JavaScript
9 lines
198 B
JavaScript
let hello
|
|
let another = { thing: 1 }
|
|
|
|
export default () => (
|
|
<>
|
|
<p>result1: {hello?.world ? 'something' : 'nothing'}</p>
|
|
<p>result2: {another?.thing ? 'something' : 'nothing'}</p>
|
|
</>
|
|
)
|