Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is defined but never used.[no-unused-vars] #72

Open
adambugaj opened this issue Oct 20, 2017 · 1 comment
Open

Is defined but never used.[no-unused-vars] #72

adambugaj opened this issue Oct 20, 2017 · 1 comment

Comments

@adambugaj
Copy link

How can I solve this issue or turn this checkout off? Thanks for help.

`// button required to use
function createContact(firstName) {
this.firstName = firstName;
//, lastName, phoneNumber, email
// this.lastName = lastName;
// this.phoneNumber = phoneNumber;
// this.email = email;
}

var sampleContact = {
firstName: "Bill",
lastName: "Door",
phoneNumber: "01 294 323 434",
email: "billdoor@microsoft.com"
}

//onload sample contact
function showSampleContact() {
document.getElementById('firstName').innerHTML = sampleContact.firstName;
document.getElementById('lastName').innerHTML = sampleContact.lastName;
document.getElementById('phoneNumber').innerHTML = sampleContact.phoneNumber;
document.getElementById('email').innerHTML = sampleContact.email;
}

document.write(sampleContact.firstName)`

image

@zaggino
Copy link
Member

zaggino commented Oct 25, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants