mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 06:05:02 +03:00
7 lines
163 B
TypeScript
7 lines
163 B
TypeScript
|
// @strict: true
|
||
|
|
||
|
declare let f: null | ((x: string) => void);
|
||
|
|
||
|
let g = f || (abc => { void abc.toLowerCase() })
|
||
|
let gg = f ?? (abc => { void abc.toLowerCase() })
|