Source code
Revision control
Copy as Markdown
Other Tools
{"version":3,"file":"switches.js","sources":["rollup://./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":[],"mappings":";;;EAAe,SAAS,IAAI,GAAG;AAC/B,AACA;EACA,EAAE,QAAQ,IAAI;EACd,IAAI,KAAK,IAAI;AACb,EACA,MAAM,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC;EACtC,IAAI,SAAS;AACb,EACA,MAAM,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC;EACtC,KAAK;EACL,GAAG;EACH,CAAC;;;;;;;;"}