Tengo dos opciones diferentes en JavaScript
Opción 1:
var _option = { "displayLength": _length, "order": [[ _order, ""+_sort+"" ]], "paging": _pages, "info": _info, "searching": _search }Opcion 2:
var _button_option = { dom: 'Bfrtip', buttons: [ 'copy', 'excel', 'print' ] }Quiero fusionar dos valores de opción con los valores uno.
Resultado como este:
var _option = { "displayLength": _length, "order": [[ _order, ""+_sort+"" ]], "paging": _pages, "info": _info, "searching": _search, dom: 'Bfrtip', buttons: [ 'copy', 'excel', 'print' ] }¿Cómo fusionar dos opciones en JavaScript?