Is this just a shorthand for a new list or does it work based on whatever type the var is defined as?

Pretty neat syntax sugar.