id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
Mmdn_object/Mmdn_object_14_3.txt |
delete obj.prop;
// Freeze.
const o = Object.freeze(obj);
// The return value is just the same object we passed in.
o === obj; // true
// The object has become frozen.
Object.isFrozen(obj); // === true
// Now any changes will fail
obj.foo = "quux"; // silently do... | |
Mmdn_object/18889_37_0.txt | Labels
TypeScript | |
Mmdn_object/Mmdn_object_14_0.txt | * Skip to main content
* Skip to search
* Skip to select language
[ MDN Web Docs ](/en-US/) Open main menu
* References [ References ](/en-US/docs/Web)
* [ Overview / Web Technology Web technology reference for developers ](/en-US/docs/Web)
* [ HTML Structure of content on the web ](/en-US/do... | |
Mmdn_object/css0_24_0.txt | A function returning the value to set. ` this ` is the current element.
Receives the index position of the element in the set and the old value as
arguments.
* #### version added: 1.0 .css( properties ) | |
Mmdn_object/Mmdn_object_7_1.txt | er__) Deprecated
5. _[ ` Object.assign() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) _
6. [ ` Object.create() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create)
7. [ ` Object.defineProperties() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/def... | |
Mmdn_object/18889_41_0.txt |
import {css} from '@emotion/core';
const style = css({colour:'red'});
Expected behavior: I would expect that as it happens with 'csstype', it would
catch the type error on the property name as: | |
Mmdn_object/18889_45_0.txt | All reactions
* 👍 1 reaction | |
Mmdn_object/Mmdn_object_30_8.txt | .hasOwn(this, "-prop-value")) {
return this["-prop-value"];
} else {
// It doesn't look like one of my objects, so let's fall back on
// the default behavior by reproducing the current behavior as best we can.
// The apply behaves like "super" in some other languages.
// Ev... | |
Mmdn_object/18889_70_0.txt | Member
### | |
Mmdn_object/18889_19_0.txt | Search or jump to...
# Search code, repositories, users, issues, pull requests... | |
Mmdn_object/Mmdn_object_27_2.txt | bject.getPrototypeOf(obj) === proto; // true
### Non-object coercion
In ES5, it will throw a [ ` TypeError ` ](/en-
US/docs/Web/JavaScript/Reference/Global_Objects/TypeError) exception if the `
obj ` parameter isn't an object. In ES2015, the parameter will be coerced to
an [ ` Object ` ](/en-US/docs/Web/JavaScr... | |
Mmdn_object/Mmdn_object_21_0.txt | * Skip to main content
* Skip to search
* Skip to select language
[ MDN Web Docs ](/en-US/) Open main menu
* References [ References ](/en-US/docs/Web)
* [ Overview / Web Technology Web technology reference for developers ](/en-US/docs/Web)
* [ HTML Structure of content on the web ](/en-US/do... | |
Mmdn_object/Mmdn_object_32_4.txt | # Our communities
* [ MDN Community ](/en-US/community)
* [ MDN Forum ](https://discourse.mozilla.org/c/mdn/236)
* [ MDN Chat ](/discord)
## Developers
* [ Web Technologies ](/en-US/docs/Web)
* [ Learn Web Development ](/en-US/docs/Learn)
* [ MDN Plus ](/en-US/plus)
* [ Hacks Blog ](https://hacks.moz... | |
Mmdn_object/contain6_5_0.txt | * HTTP
Protocol for transmitting web resources | |
Mmdn_object/Mmdn_object_19_0.txt | * Skip to main content
* Skip to search
* Skip to select language
[ MDN Web Docs ](/en-US/) Open main menu
* References [ References ](/en-US/docs/Web)
* [ Overview / Web Technology Web technology reference for developers ](/en-US/docs/Web)
* [ HTML Structure of content on the web ](/en-US/do... | |
Mmdn_object/css0_3_0.txt | * * *
Categories: CSS | Manipulation > Style Properties | |
Mmdn_object/18889_67_0.txt | So this is correctly typed because ` Style ` will have properties defined as CSS properties or fallback to a free string when the content is an object. The problem, however, is that this cannot be sent to ` Emotion.css() ` as it expects a ` Interpolation ` object which is not compatible with the ` CSS.Properties ` exte... | |
Mmdn_object/contain6_52_0.txt | html
<div style="contain: paint">
<p>This text will be clipped to the bounds of the box.</p>
</div>
<div>
<p>This text will not be clipped to the bounds of the box.</p>
</div>
| |
Mmdn_object/18889_18_0.txt | * Topics
* Trending
* Collections
* Pricing | |
Mmdn_object/contain6_28_0.txt | Newly available
Since February 2023 , this feature works across the latest devices and
browser versions. This feature might not work in older devices or browsers. | |
Mmdn_object/Mmdn_object_7_4.txt | s will take you
to our contribution guidelines on GitHub.") .
This page was last modified on Sep 1, 2023 by [ MDN contributors ](/en-
US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign/contributors.txt)
.
[ View this page on GitHub
](https://github.com/mdn/content/blob/main/files/en-
us/web/javascript/r... | |
Mmdn_object/Mmdn_object_6_4.txt |
}
function CreatedConstructor() {
// â¦
}
Object.setPrototypeOf(CreatedConstructor.prototype, Parent.prototype);
CreatedConstructor.prototype.create = function () {
return new this.constructor();
};
new CreatedConstructor().create().create(); // still works witho... | |
Mmdn_object/Mmdn_object_12_1.txt | (/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/__lookupSetter__) Deprecated
5. [ ` Object.assign() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign)
6. [ ` Object.create() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create)
7. [ ` Object.defineProperties... | |
Mmdn_object/contain6_31_0.txt | Using the ` contain ` property is useful on pages with groups of elements that
are supposed to be independent, as it can prevent element internals from
having side effects outside of its bounding-box.
Note: using ` layout ` , ` paint ` , ` strict ` or ` content ` values for
this property creates: | |
Mmdn_object/18889_5_0.txt | Find and fix vulnerabilities
* Codespaces | |
Mmdn_object/Mmdn_object_24_2.txt | n of the precise description of all own
properties of an object. A _property_ in JavaScript consists of either a
string-valued name or a [ ` Symbol ` ](/en-
US/docs/Web/JavaScript/Reference/Global_Objects/Symbol) and a property
descriptor. Further information about property descriptor types and their
attributes can be ... | |
Mmdn_object/Mmdn_object_18_4.txt | s)
* [ Report an issue ](/en-US/docs/MDN/Community/Issues)
## Our communities
* [ MDN Community ](/en-US/community)
* [ MDN Forum ](https://discourse.mozilla.org/c/mdn/236)
* [ MDN Chat ](/discord)
## Developers
* [ Web Technologies ](/en-US/docs/Web)
* [ Learn Web Development ](/en-US/docs/Learn)
*... | |
Mmdn_object/18889_60_0.txt | edited
Ah, yes. That makes sense 😎
In this case I guess it would be tricky to account for all variations,
unless a structure like this takes place one day:
https://basarat.gitbook.io/typescript/type-system/index-signatures#design-
pattern-nested-index-signature (very interesting and contextual section of
the b... | |
Mmdn_object/Mmdn_object_25_3.txt |
class Foo {
#value = "foo";
static getValue(x) {
return x.#value;
}
static isFoo(x) {
return #value in x;
}
}
const baz = { __proto__: Foo.prototype };
if (Foo.isFoo(baz)) {
// Doesn't run, because baz is not a Foo
console.log(Foo.getV... | |
Mmdn_object/18889_2_0.txt | * Product
* Actions | |
Mmdn_object/18889_15_0.txt | * Open Source
* GitHub Sponsors | |
Mmdn_object/Mmdn_object_0_0.txt | * Skip to main content
* Skip to search
* Skip to select language
[ MDN Web Docs ](/en-US/) Open main menu
* References [ References ](/en-US/docs/Web)
* [ Overview / Web Technology Web technology reference for developers ](/en-US/docs/Web)
* [ HTML Structure of content on the web ](/en-US/do... | |
Mmdn_object/Mmdn_object_13_0.txt | * Skip to main content
* Skip to search
* Skip to select language
[ MDN Web Docs ](/en-US/) Open main menu
* References [ References ](/en-US/docs/Web)
* [ Overview / Web Technology Web technology reference for developers ](/en-US/docs/Web)
* [ HTML Structure of content on the web ](/en-US/do... | |
Mmdn_object/Mmdn_object_7_2.txt |
The target object â what to apply the sources' properties to, which is
returned after it is modified.
` source1 ` , â¦, ` sourceN `
The source object(s) â objects containing the properties you want to apply.
### Return value
The target object.
## Description
Properties in the target object are... | |
Mmdn_object/Mmdn_object_16_1.txt | ference/Global_Objects/Object/__lookupSetter__) Deprecated
5. [ ` Object.assign() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign)
6. [ ` Object.create() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create)
7. [ ` Object.defineProperties() ` ](/en-US/docs/Web/JavaScr... | |
Mmdn_object/Mmdn_object_2_0.txt | * Skip to main content
* Skip to search
* Skip to select language
[ MDN Web Docs ](/en-US/) Open main menu
* References [ References ](/en-US/docs/Web)
* [ Overview / Web Technology Web technology reference for developers ](/en-US/docs/Web)
* [ HTML Structure of content on the web ](/en-US/do... | |
Mmdn_object/18889_75_0.txt | Assignees
No one assigned | |
Mmdn_object/Mmdn_object_18_0.txt | * Skip to main content
* Skip to search
* Skip to select language
[ MDN Web Docs ](/en-US/) Open main menu
* References [ References ](/en-US/docs/Web)
* [ Overview / Web Technology Web technology reference for developers ](/en-US/docs/Web)
* [ HTML Structure of content on the web ](/en-US/do... | |
Mmdn_object/Mmdn_object_22_1.txt | /Object/__lookupSetter__) Deprecated
5. [ ` Object.assign() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign)
6. [ ` Object.create() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create)
7. [ ` Object.defineProperties() ` ](/en-US/docs/Web/JavaScript/Reference/Global_O... | |
Mmdn_object/Mmdn_object_3_0.txt | * Skip to main content
* Skip to search
* Skip to select language
[ MDN Web Docs ](/en-US/) Open main menu
* References [ References ](/en-US/docs/Web)
* [ Overview / Web Technology Web technology reference for developers ](/en-US/docs/Web)
* [ HTML Structure of content on the web ](/en-US/do... | |
Mmdn_object/Mmdn_object_1_5.txt | eb/JavaScript/Reference/Statements/for...of)
18. [ function ](/en-US/docs/Web/JavaScript/Reference/Statements/function)
19. [ function* ](/en-US/docs/Web/JavaScript/Reference/Statements/function*)
20. [ if...else ](/en-US/docs/Web/JavaScript/Reference/Statements/if...else)
21. [ import ](/en-US/docs/Web... | |
Mmdn_object/18889_29_0.txt | * * Notifications
* Fork 1.1k
* Star 17.2k
* Code
* Issues 248
* Pull requests 54
* Discussions
* Actions
* Security
* Insights | |
Mmdn_object/Mmdn_object_37_3.txt | merability_and_ownership_of_properties)
* [ ` Object.keys() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys)
* [ ` Object.values() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/values)
* [ ` Object.prototype.propertyIsEnumerable() ` ](/en-US/docs/Web/JavaScript/Reference/Globa... | |
Mmdn_object/18889_56_0.txt |
css({
':hover,:focus': {
color: 'hotpink'
}
})
or just | |
Mmdn_object/Mmdn_object_36_2.txt | . `
Object.preventExtensions() ` marks an object as no longer extensible, so that
it will never have properties beyond the ones it had at the time it was marked
as non-extensible. Note that the properties of a non-extensible object, in
general, may still be _deleted_ . Attempting to add new properties to a non-
extensi... | |
Mmdn_object/Mmdn_object_34_1.txt | r__) Deprecated
5. [ ` Object.assign() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign)
6. [ ` Object.create() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create)
7. [ ` Object.defineProperties() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineP... | |
Mmdn_object/18889_22_0.txt | We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted | |
Mmdn_object/css0_28_0.txt | When using ` .css() ` as a setter, jQuery modifies the element's ` style `
property. For example, ` $( "#mydiv" ).css( "color", "green" ) ` is equivalent
to ` document.getElementById( "mydiv" ).style.color = "green" ` . Setting the
value of a style property to an empty string — e.g. ` $( "#mydiv" ).css(
"color", "" ) `... | |
Mmdn_object/Mmdn_object_30_6.txt | tOwnPropertyNames() ` ](/en-
US/docs/Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertyNames)
Returns an array containing the names of all of the given object's **own**
enumerable and non-enumerable properties.
[ ` Object.getOwnPropertySymbols() ` ](/en-
US/docs/Web/JavaScript/Reference/Global_Object... | |
Mmdn_object/contain6_0_0.txt | * Skip to main content
* Skip to search
* Skip to select language
MDN Web Docs Open main menu | |
Mmdn_object/Mmdn_object_17_3.txt | A%2F%2Fgithub.com%2Fmdn%2Fcontent%2Fcommit%2Ffcd80ee4c8477b6f73553bfada841781cf74cf46%0A*+Document+last+modified%3A+2023-02-21T01%3A57%3A14.000Z%0A%0A%3C%2Fdetails%3E
"This will take you to GitHub to file a new issue.")
[ MDN logo ](/)
Your blueprint for a better internet.
* [ MDN on Mastodon ](https://mozilla.s... | |
Mmdn_object/Mmdn_object_27_0.txt | * Skip to main content
* Skip to search
* Skip to select language
[ MDN Web Docs ](/en-US/) Open main menu
* References [ References ](/en-US/docs/Web)
* [ Overview / Web Technology Web technology reference for developers ](/en-US/docs/Web)
* [ HTML Structure of content on the web ](/en-US/do... | |
Mmdn_object/contain6_32_0.txt | 1. A new containing block (for the descendants whose ` position ` property is ` absolute ` or ` fixed ` ).
2. A new stacking context .
3. A new block formatting context .
## Syntax | |
Mmdn_object/Mmdn_object_24_3.txt | /getownpropertydescriptors
\(Opens in a new tab\)") ⢠[ Report a problem with this content
](https://github.com/mdn/content/issues/new?template=page-report.yml&mdn-
url=https%3A%2F%2Fdeveloper.mozilla.org%2Fen-
US%2Fdocs%2FWeb%2FJavaScript%2FReference%2FGlobal_Objects%2FObject%2FgetOwnPropertyDescriptors&metadata=%3... | |
Mmdn_object/contain6_29_0.txt | * Learn more
* See full compatibility
* Report feedback
The ` contain ` CSS property indicates that an element and its contents are,
as much as possible, independent from the rest of the document tree.
Containment enables isolating a subsection of the DOM, providing performance
benefits by limiting calculat... | |
Mmdn_object/18889_32_0.txt | Sign up for GitHub
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement . We’ll occasionally send you account related emails. | |
Mmdn_object/18889_8_0.txt | Manage code changes
* Issues | |
Mmdn_object/contain6_64_0.txt |
body {
quotes: "[" "]" "â¹" "âº";
}
.open-quote:before {
content: open-quote;
}
.close-quote:after {
content: close-quote;
}
Because of containment, the first closing quote ignores the inner span and
uses the outer span's closing quote instead: | |
Mmdn_object/contain6_46_0.txt | For properties that can affect more than just an element and its descendants,
the effects don't escape the containing element. Counters and quotes are
scoped to the element and its contents.
` paint ` | |
Mmdn_object/18889_55_0.txt | Andarist commented Jun 6, 2020
Oh, I thought right now about an even more important reason why this is like
it is. It allows writing things like: | |
Mmdn_object/Mmdn_object_33_3.txt | onal-ecmascript-features-for-web-
browsers.html#sec-object.prototype.__defineGetter__)
## Browser compatibility
BCD tables only load in the browser with JavaScript enabled. Enable
JavaScript to view data.
## See also
* [ Polyfill of ` Object.prototype.__defineGetter__ ` in ` core-js ` ](https://github.com/... | |
Mmdn_object/contain6_10_0.txt | * MDN Learning Area
Learn web development | |
Mmdn_object/contain6_7_0.txt | * Web Extensions
Developing extensions for web browsers | |
Mmdn_object/contain6_42_0.txt | ` inline-size `
| |
Mmdn_object/contain6_27_0.txt | # contain
## Baseline 2023 | |
Mmdn_object/contain6_17_0.txt | * Updates
All browser compatibility updates at a glance | |
Mmdn_object/18889_43_0.txt | Environment information:
* ` react ` version: "^15.0.0 || ^16.0.0"
* ` emotion ` version: "^10.0.28" | |
Mmdn_object/css0_36_0.txt | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
<!doctype html><html lang="en"><head> <meta charset="utf-8"> <title>css demo</title> <style> p { color: green; } </style> <script src="https://code.jquery.com... | |
Mmdn_object/Mmdn_object_36_1.txt | Reference/Global_Objects/Object/__lookupSetter__) Deprecated
5. [ ` Object.assign() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign)
6. [ ` Object.create() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create)
7. [ ` Object.defineProperties() ` ](/en-US/docs/Web/JavaS... | |
Mmdn_object/18889_62_0.txt | Sorry, something went wrong.
zanona mentioned this issue Jun 6, 2020 | |
Mmdn_object/contain6_25_7.txt | ges
8. Pagination
9. Card
10. Grid wrapper
46. Tools
47. 1. Color picker
2. Box shadow generator
3. Border image generator
4. Border radius generator | |
Mmdn_object/contain6_54_0.txt | html
<div class="card" style="contain: layout;">
<h2>Card 1</h2>
<div class="fixed"><p>Fixed box 1</p></div>
<div class="float"><p>Float box 1</p></div>
</div>
<div class="card">
<h2>Card 2</h2>
<div class="fixed"><p>Fixed box 2</p></div>
<div class="float"><p>... | |
Mmdn_object/18889_80_0.txt | 3 participants
## Footer | |
Mmdn_object/Mmdn_object_11_2.txt | arameters. For example, the [ ` Number.prototype.toString() ` ](/en-
US/docs/Web/JavaScript/Reference/Global_Objects/Number/toString) and [ `
BigInt.prototype.toString() ` ](/en-
US/docs/Web/JavaScript/Reference/Global_Objects/BigInt/toString) methods take
an optional ` radix ` parameter.
### Return value
A string r... | |
Mmdn_object/Mmdn_object_37_2.txt | whose elements are arrays corresponding
to the enumerable string-keyed property key-value pairs found directly upon `
object ` . This is the same as iterating with a [ ` for...in ` ](/en-
US/docs/Web/JavaScript/Reference/Statements/for...in) loop, except that a `
for...in ` loop enumerates properties in the prototype c... | |
Mmdn_object/contain6_57_0.txt | ### Style containment
Style containment scopes counters and quotes to the contained element. For
CSS counters, the ` counter-increment ` and ` counter-set ` properties are
scoped to the element as if the element is at the root of the document. | |
Mmdn_object/css0_10_0.txt | An array of one or more CSS properties.
The ` .css() ` method is a convenient way to get a computed style property
from the first matched element, especially in light of the different ways
browsers access most of those properties (the ` getComputedStyle() ` method in
standards-based browsers versus the ` currentStyle ... | |
Mmdn_object/Mmdn_object_7_3.txt | , o2);
console.log(obj); // { a : 1, [Symbol("foo")]: 2 } (cf. bug 1207182 on Firefox)
Object.getOwnPropertySymbols(obj); // [Symbol(foo)]
### Properties on the prototype chain and non-enumerable properties cannot be
copied
js
const obj = Object.create(
// foo is on obj's prototype ... | |
Mmdn_object/Mmdn_object_19_1.txt | precated
5. [ ` Object.assign() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign)
6. [ ` Object.create() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create)
7. [ ` Object.defineProperties() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperti... | |
Mmdn_object/Mmdn_object_11_5.txt | g_guidelines/Attrib_copyright_license) .
*[
Deprecated
]: Deprecated. Not for use in new websites.
| |
Mmdn_object/Mmdn_object_9_3.txt | ` as
prototype ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object#null-
prototype_objects) . The equivalent syntax in object initializers would be the
[ ` __proto__ ` ](/en-
US/docs/Web/JavaScript/Reference/Operators/Object_initializer#prototype_setter)
key.
js
o = Object.create(null);
//... | |
Mmdn_object/18889_47_0.txt | Member
### | |
Mmdn_object/contain6_51_0.txt | css
div {
width: 100px;
height: 100px;
background: red;
margin: 10px;
font-size: 20px;
}
| |
Mmdn_object/css0_39_0.txt | * Learning Center
* Chat
* Twitter
* GitHub
Copyright 2024 OpenJS Foundation and jQuery contributors. All rights
reserved. See jQuery License for more information. The OpenJS Foundation
has registered trademarks and uses trademarks. For a list of trademarks of the
OpenJS Foundation , please see our ... | |
Mmdn_object/Mmdn_object_21_1.txt | 5. [ ` Object.assign() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign)
6. [ ` Object.create() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create)
7. [ ` Object.defineProperties() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperties)
8. [ ... | |
Mmdn_object/css0_4_0.txt | Get the value of a computed style property for the first element in the set of
matched elements or set one or more CSS properties for every matched element.
#### Contents: | |
Mmdn_object/Mmdn_object_18_3.txt | rtyDescriptor(obj, "foo").get;
// [Function: get foo]
js
const obj2 = {
__proto__: {
get foo() {
return Math.random() > 0.5 ? "foo" : "bar";
},
},
};
function findGetter(obj, prop) {
while (obj) {
const desc = Object.getOwnPropert... | |
Mmdn_object/contain6_50_0.txt | ### Paint containment
The following example shows how to use ` contain: paint ` to prevent an
element's descendants from painting outside of its bounds. | |
Mmdn_object/Mmdn_object_16_2.txt | ocaleString ` ](/en-
US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString) . The
parameter positions should not be used for any other purpose.
### Return value
The return value of calling ` this.toString() ` .
## Description
All objects that inherit from ` Object.prototype ` (that is, all except [ ... | |
Mmdn_object/Mmdn_object_30_2.txt | typical object inherits properties
(including methods) from ` Object.prototype ` , although these properties may
be shadowed (a.k.a. overridden). The only objects that don't inherit from `
Object.prototype ` are those with ` null ` prototype , or descended from
other ` null ` prototype objects.
Changes to the ` Obj... | |
Mmdn_object/Mmdn_object_15_3.txt | this.anotherValue = val;
},
configurable: true,
enumerable: true,
});
o.value = 5;
console.log(o.value); // undefined
console.log(o.anotherValue); // 5
## Specifications
Specification
---
[ ECMAScript Language Specification
# sec-object.prototype.__defineSetter__... | |
Mmdn_object/18889_71_0.txt | Andarist commented Jun 6, 2020
As to your ` Style ` example: | |
Mmdn_object/18889_30_0.txt | Additional navigation options
* Code
* Issues
* Pull requests
* Discussions
* Actions
* Security
* Insights | |
Mmdn_object/Mmdn_object_1_6.txt | oup)
15. [ Quantifier: *, +, ?, {n}, {n,}, {n,m} ](/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Quantifier)
16. [ Unicode character class escape: \p{...}, \P{...} ](/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Unicode_character_class_escape)
17. [ Wildcard: . ](/en-US/docs/Web/JavaSc... | |
Mmdn_object/Mmdn_object_19_3.txt | Objects/Object/keys/contributors.txt)
.
[ View this page on GitHub
](https://github.com/mdn/content/blob/main/files/en-
us/web/javascript/reference/global_objects/object/keys/index.md?plain=1
"Folder: en-us/web/javascript/reference/global_objects/object/keys \(Opens in
a new tab\)") ⢠[ Report a problem with this c... | |
Mmdn_object/contain6_56_0.txt | The first card has layout containment applied, and its layout is isolated from
the rest of the page. We can reuse this card in other places on the page
without worrying about layout recalculation of the other elements. If floats
overlap the card bounds, elements on the rest of the page are not affected.
When the browse... | |
Mmdn_object/contain6_58_0.txt | #### Containment and counters
The example below takes a look at how counters work when style containment is
applied: | |
Mmdn_object/Mmdn_object_30_5.txt | cs/Web/JavaScript/Reference/Global_Objects/String) , [ ` Boolean ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean) , [ ` Symbol ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol) , [ ` BigInt ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) primitives are wrapped into their co... | |
Mmdn_object/18889_17_0.txt | GitHub community articles
Repositories | |
Mmdn_object/Mmdn_object_2_1.txt | precated
5. [ ` Object.assign() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign)
6. [ ` Object.create() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create)
7. [ ` Object.defineProperties() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperti... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.