Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about object-create

Read more about object-create

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - object-create

Defining a class with or without the .prototype

In the absence of using the class keyword, what is the difference between the following two ways to construct an inherited object? In the first one I'm attaching things on the .prototype and in the se...
test-img

David542

javascript

prototype

factory

object-create

Votes: 0

Answers: 1

Latest Answer

The code of both examples can be cleaned up since basicConstructor.call does not have any effect to the passed object which shortly before was created via Object.reate. In addition basicConstructor de...
test-img

Peter Seliger

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved