I need a bit of guidance. Just missing something here. Here's what I want to do. Its not everything just a code snippet to show the problem I have. I want to create an array of GMIDS inside of my fwCONSTANTS variable so that later I can use indexof on the GMIDS to test if an ID exists in the array. var fwCONSTANTS = { FWCOMMAND : "!fw", GMIDS : ["A", "B", "C"] // this is what I have wrong, but I just can't figure out how to do an array here? I could just create GMID1, GMID2, etc., but I wanted // to do it as an array }; . . if (fwCONSTANTS.GMIDS.indexof(playerid) !== -1 { . . } . . Please be gentle, I'm not an expert although I can get some good stuff done, but I'm blinded by something here that you experts will know right away! :) Thanks for your help, Konrad