next.js/test/integration/optional-chaining-nullish-coalescing/pages/nullish-coalescing.js
nullish-coalescing.js10 lines150 B
let hello
let another = ''

export default () => (
  <>
    <p>result1: {hello ?? 'fallback'}</p>
    <p>result2: {another ?? 'fallback'}</p>
  </>
)
Quest for Codev2.0.0
/
SIGN IN