Source code

Revision control

Copy as Markdown

Other Tools

{"version":3,"sources":["parcel://./switches/input.js"],"names":["root","val","console","log"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAwBA;AAAT,SAASA,IAAT,GAAgB;AAC7B,MAAIC,MAAM,CAAV;;AAEA,UAAQ,IAAR;AACE,SAAK,IAAL;AACE,UAAIA,MAAM,CAAV;AACAC,cAAQC,GAAR,CAAY,YAAZ,EAA0BH,IAA1B;AACF;AAAS;AACP,YAAIC,MAAM,CAAV;AACAC,gBAAQC,GAAR,CAAY,YAAZ,EAA0BH,IAA1B;AACD;AAPH;AASD","file":"switches.map","sourcesContent":["export default function root() {\n let val = 1;\n\n switch (true) {\n case true:\n let val = 2;\n console.log(\"pause here\", root);\n default: {\n let val = 3;\n console.log(\"pause here\", root);\n }\n }\n}\n"]}