Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created February 4, 2020 03:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/de59a19a5fefddbc3b37f67131bd6734 to your computer and use it in GitHub Desktop.
Save parzibyte/de59a19a5fefddbc3b37f67131bd6734 to your computer and use it in GitHub Desktop.
constructor(nombre: string, telefono: string, id?: number) {
this.id = id ? id : -1;
this.nombre = nombre;
this.telefono = telefono;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment