# Writing Object-Oriented JavaScript in a Python-Inspired Style

DevFeed: [Writing Object-Oriented JavaScript in a Python-Inspired Style](<https://devfeed.tech/articles/easy-object-oriented-javascript-the-python-way-35392.md>)

Original publisher: [Read original article](<https://darkcoding.net/software/easy-object-oriented-javascript-the-python-way/>)

Author: Graham King

Published: 2009-01-22T23:47:30Z

Content type: tutorial

Language: en

Sources: [Graham King](<https://devfeed.tech/sources/graham-king.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [constructor](<https://devfeed.tech/tags/constructor.md>), [function](<https://devfeed.tech/tags/function.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [module](<https://devfeed.tech/tags/module.md>), [object-oriented](<https://devfeed.tech/tags/object-oriented.md>), [properties](<https://devfeed.tech/tags/properties.md>), [prototype](<https://devfeed.tech/tags/prototype.md>), [python](<https://devfeed.tech/tags/python.md>), [software](<https://devfeed.tech/tags/software.md>)

## AI overview

A tutorial that translates a whimsical Moose Observation Project from Python to JavaScript and explains how to structure object-oriented JavaScript. It covers namespaces, constructor functions, the new operator, prototype methods, and instance properties.

## Source excerpt

"Making Javascript look like Python: A whimsical Moose Observation Project"