Skip to content

Instantly share code, notes, and snippets.

@edinsoncs
Created May 31, 2016 05:02
Show Gist options
  • Select an option

  • Save edinsoncs/604c662a3f453404d3996921d6b6c70d to your computer and use it in GitHub Desktop.

Select an option

Save edinsoncs/604c662a3f453404d3996921d6b6c70d to your computer and use it in GitHub Desktop.
var isObject = {}
function objeto(obt) {
obt.question = 'What is your name?';
obt.resultquestion = 'My name is edinson, and you?';
obt.questionother = 'My name is katia';
var result = obt || 'No hay objecto';
showName(result);
return result
}
objeto(isObject);
function showName(data) {
console.log('Edinson que hablas english???');
data.accept = 'Yes, in this momento, student other lengauage english';
console.log(data);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment