I'm not sure, but it seems like it. You can do constants ~= 123; or constants = [ 123 ]; just fine. There could be a reason behind this, but if you're allowed to change the array anyway, you should probably be able to change it in any way you like.