hoist var declarations, use implicit array/object declaration