Every time you create a Javascript object you need a pointer. Everything except small integers (including booleans) is an object in Javascript.