Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* let's define the Cow Class */
- function Cow() {
- this.type = "Domestic";
- this.speak = function() {
- console.log("Moooo...");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement