---
title: "Discussion on \"Object-Oriented Programming w/ JavaScript\" | Hashnode"
description: "Discussion on \"Object-Oriented Programming w/ JavaScript\". A code newbie explains “this”, \"new\" & constructors."
url: "https://hashnode.com/posts/object-oriented-programming-with-javascript/626ee2daa2d355d4df440f4b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Object-Oriented Programming w/ JavaScript](https://ebonycodes.hashnode.dev/object-oriented-programming-with-javascript?utm_source=hashnode&utm_medium=feed)

A code newbie explains “this”, "new" & constructors.

May 1, 2022 · 4 min read · ebonycodes.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#programming](https://hashnode.com/tag/programming)
-   [#object-oriented-programming](https://hashnode.com/tag/object-oriented-programming)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[Ebony Hargro](https://hashnode.com/@ebonycodes)

@ebonycodes · Bay Area, CA

  
[View profile](https://hashnode.com/@ebonycodes)

software engineer passionate about wellness | community advocate w/ G{Code} | sharing resources for JS beginners!

hi! I'm a community-taught frontend software engineer living &amp; working in silicon valley. i'm passionate about sharing my experiences + learnings with other non-traditional engineers through writing.

## Responses 2

Markdown supported · ⌘↵ to post

[Tanaka Chingonzo](https://hashnode.com/@nditanaka)

[May 2, 2022](https://hashnode.com/posts/object-oriented-programming-with-javascript/626ee2daa2d355d4df440f4b/comment/627030d2339f01018101ff7e)

Thanks for sharing this awesome article! It really helped cement my understanding of the "this" keyword. :)

[Ebony Hargro](https://hashnode.com/@ebonycodes)

[May 2, 2022](https://hashnode.com/posts/object-oriented-programming-with-javascript/626ee2daa2d355d4df440f4b/comment/627030d2339f01018101ff7e#reply-62703357339f01018101ffbb)

That’s great to hear, thank you so much for reading! ☺️

[Melvin Lucas](https://hashnode.com/@MelvinLucas)

[May 2, 2022](https://hashnode.com/posts/object-oriented-programming-with-javascript/626ee2daa2d355d4df440f4b/comment/626f7499238a6ff3d7dc789f)

Hello ,how did you add the code sections ? I want to start blogging and add the code sections too

[Ebony Hargro](https://hashnode.com/@ebonycodes)

[May 2, 2022](https://hashnode.com/posts/object-oriented-programming-with-javascript/626ee2daa2d355d4df440f4b/comment/626f7499238a6ff3d7dc789f#reply-626f75e6a2d355d4df441968)

Hello! ☺️ So I used the screenshot keyboard shortcut for macOS (CMD + shift + 4 I believe) to capture the code. I then used Excalidraw (free whiteboarding website) to draw labels & arrows where needed. 👍🏿
