mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 15:12:08 +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() })
|