Source code
Revision control
Copy as Markdown
Other Tools
{"version":3,"file":"switches.js","sources":["rollup-babel7://./switches/input.js"],"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"],"names":["root","console","log"],"mappings":";;;EAAe,SAASA,IAAT,GAAgB;AAC7B;EAEA,UAAQ,IAAR;EACE,SAAK,IAAL;AACE,EACAC,cAAQC,GAAR,CAAY,YAAZ,EAA0BF,IAA1B;;EACF;EAAS;AACP,EACAC,gBAAQC,GAAR,CAAY,YAAZ,EAA0BF,IAA1B;EACD;EAPH;EASD;;;;;;;;"}