Expected OutPut
Model = GT-N8000, cordova_version = 3.6.4, OS = Android
Hello I am trying to make one string as shown below But it is display the values not the name of values .I am not able to get attribute and = in a striing here is my code
var deviceInfo = ''
var deviceInfo = '';
deviceInfo += model = getModel() + ',';
deviceInfo += cordova_version = cordovaVersion() + ',';
deviceInfo += OS = getOS();
alert(deviceInfo);
function getModel() {
return "GT-N8000"
}
function cordovaVersion() {
return "3.6.4"
}
function getOS() {
return "Android"
}