update = {} update.$push = {} update.$push[attr] = data 主要是attr是一个变量,有没有什么不错的技巧能简化这段代码?coffescript或者js都可以