Casts will be translated to this: ``` val y = x a...
# javascript
s
Casts will be translated to this:
Copy code
val y = x as Int
 var y = typeof (tmp$ = x) === 'number' ? tmp$ : throwCCE();