Skip to content

code-differently/Object-Oriented-JavaScript-Activity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Object Oriented JavaScript Activity

Part 1

Create an object literal to represent a Facebook post. Include any properties or functions you think you might need. Try accessing and updating the contents with both bracket notation and dot notation. See and example below:

let post = {
    name: "Kaleb Burd",
    message: "@coderhino why is your code hot garbage?"
}

post.message = "@coderhino writes code like it's a work of fine art"

Part 2

Create a class that models a Tweet. The class should allow the user to add and remove a letter as well as view the current message. The message should never be allowed to be longer than 140 characters 🤔

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors