StackOverflow Questions for Tag: defineproperty

tleef
tleef

Reputation: 3604

Weird behaviour with 'use strict' and read only properties

Score: 6

Views: 4148

Answers: 2

Read More

Is it possible to hook a non-configurable property like window.location.hostname, in JavaScript?

Score: 1

Views: 78

Answers: 1

Read More
Trustable
Trustable

Reputation: 1

Different exceptions thrown when redefining 'length' property of an array using Object.defineProperty with a literal vs concatenated string

Score: 0

Views: 33

Answers: 0

Read More
klumsy
klumsy

Reputation: 4281

Clarification needed for implementing properties with the revealing module pattern using Html5 getters and setters

Score: 3

Views: 486

Answers: 1

Read More
romand
romand

Reputation: 29

How to override (monkeypatch) the document and element specific `querySelector` implementations and how to restore each original functionality again?

Score: 0

Views: 247

Answers: 2

Read More
Delfon
Delfon

Reputation: 39

How to correctly implement an own property getter/setter via Object.defineProperty and utilizing class syntax?

Score: 1

Views: 130

Answers: 2

Read More
Morteza Tourani
Morteza Tourani

Reputation: 3536

How to add static methods to built-in classes?

Score: 14

Views: 7965

Answers: 2

Read More
rob-gordon
rob-gordon

Reputation: 1488

Multiple Parameters for Object.defineProperty Setter Function?

Score: 8

Views: 10037

Answers: 3

Read More
Kübra Aksu
Kübra Aksu

Reputation: 1

Title: JavaScript this behavior inside an arrow function used in Object.defineProperty

Score: -1

Views: 30

Answers: 1

Read More
Math chiller
Math chiller

Reputation: 4167

how to use javascript Object.defineProperty

Score: 190

Views: 129255

Answers: 10

Read More
Gary
Gary

Reputation: 2339

Unable to assign to the value of `this` for a string prototype definition

Score: 0

Views: 33

Answers: 1

Read More
Magnogen
Magnogen

Reputation: 15

Where does a local variable get stored, and how can I define a getter/setter for one?

Score: -3

Views: 120

Answers: 1

Read More
Raynos
Raynos

Reputation: 169551

How do I undo a Object.defineProperty call?

Score: 56

Views: 25052

Answers: 2

Read More
Bryton Beesley
Bryton Beesley

Reputation: 179

Object property is unsetting itself

Score: 1

Views: 75

Answers: 0

Read More
Avishay Matayev
Avishay Matayev

Reputation: 129

Can TypeScript extend an instance's type after calling the instance's method?

Score: 2

Views: 744

Answers: 1

Read More
Bill2022
Bill2022

Reputation: 39

Wanting to change a setter of a single input field, how to advance to check if those were changed before and how not to lose the previous addages?

Score: 0

Views: 633

Answers: 1

Read More
Christophe
Christophe

Reputation: 28174

Trigger action on programmatic change to an input value

Score: 29

Views: 17625

Answers: 7

Read More
TheCat
TheCat

Reputation: 747

Why does Object.defineProperty make a property invisible when logged?

Score: 0

Views: 84

Answers: 0

Read More
Paljas
Paljas

Reputation: 373

What is the scope of variables when using defineProperty on Javascript class prototypes?

Score: 2

Views: 44

Answers: 1

Read More
mikemaccana
mikemaccana

Reputation: 123670

JavaScript: use defineProperty accessor on an array's .length?

Score: 7

Views: 4772

Answers: 6

Read More
PreviousPage 1Next