Use CASE statement (or similar) for result of JS Transformer

I have a JS Transformer that spits out a numeric value between 1 and 10.

I now want to map each number to a string:

1-2 = very negative
3-4 = negative
5-6 = neutral
7-8 = positive
9-10 = very positive

How do I do that by referencing the JS Transformer output?

You can use switch and case in the transformer
check out this post