Switch expressions
Switch as an expression in Javascript, inspired by @FGRibreau's https://github.com/FGRibreau/if-exp.
Install
npm install switch-exp
Usage
; const a = ;
Switch as an expression in Javascript, inspired by @FGRibreau's https://github.com/FGRibreau/if-exp.
npm install switch-exp
; const a = ;
npm i switch-exp
0
1.0.0
MIT