Every line of 'push key value to object javascript' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
31 onValue(key, value) { 32 if (this.json) { 33 this.curJs[key] = value; 34 } else { 35 this.outLines.push(`${key}=${value}`); 36 } 37 }