|
|
|
|
|
by earthboundkid
2264 days ago
|
|
You should not use switch in JavaScript, because it is a language where switch requires break, which means it's 100% going to bite you in the ass unless you have a linter that checks for the break. It's not worth it for such a simple case. |
|