Comment on Ask HN: TIL JavaScript switch is weird – why?Comments−richardboegli9yArtifact from C. This is by design for consistency. Java does the same.
Comments
Artifact from C. This is by design for consistency. Java does the same.