how does case work in javascript. There are any references about how does case work in javascript in here. you can look below.