//这结构作用是...? var {sin, cos, lg} = Math;
解构对象,参见https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment
相当于
var sin=Math.sin,cos=Math.cos,lg=Math.lg;
你的答案和链接完美解答我的问题