Loading topic
switch statements.1 min readswitch statements. This chapter compares numeric and string enums and shows their JavaScript runtime output.1 min readswitch statements. A fixed set of values can be modeled with a literal union or an enum.1 min read