How to get specific options from object, and spread the rest?

前端 未结 0 1201
走了就别回头了
走了就别回头了 2021-01-12 07:46

I have a working solution with ES6 for my problem:

var {connection, connection_scope, ...extraParams} = options;

This gets connection and con

相关标签:
回答
  • 消灭零回复
提交回复
热议问题