I am trying to return two values in JavaScript. Is this possible?
var newCodes = function() { var dCodes = fg.codecsCodes.rs; va
I am nothing adding new here but another alternate way.
var newCodes = function() { var dCodes = fg.codecsCodes.rs; var dCodes2 = fg.codecsCodes2.rs; let [...val] = [dCodes,dCodes2]; return [...val]; };