Looking at the example below is the type value equal to a string or an integer?

ball.type = "spike";

A. string
B. integer
please helppppp