Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var tvShow = {
title: 'El Embarcadero',
seasons: 2,
watched: true
};
function watching({ title, seasons }) {
console.log(`I am watching ${title}. ${seasons} seasons of entertainment!`);
}
watching(tvShow);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment