Skip to content

Instantly share code, notes, and snippets.

View Sergio401's full-sized avatar
🏠
Working from home

Sergio Leonardo González Fonseca Sergio401

🏠
Working from home
View GitHub Profile
@gaearon
gaearon / Classes.js
Created May 27, 2020 17:38
Beneath Classes: Prototypes
class Spiderman {
lookOut() {
alert('My Spider-Sense is tingling.');
}
}
let miles = new Spiderman();
miles.lookOut();