You have to know what the Type of object instanBoosters is, which is the issue with the dynamic nature of javascript. In javascript you don’t have to define the type unless there is no value in it. In C# you can’t just randomly switch the type. For example, you can’t make an integer a float unless you cast. If it’s a string you would do:
String someString; //define type, then name of variable.
Do you know what type of object instanBoosters is?