CSSUnparsedValue: entries() Methode

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Die CSSUnparsedValue.entries()-Methode gibt ein Array der eigenen aufzählbaren [key, value]-Paare eines gegebenen Objekts in derselben Reihenfolge zurück, wie sie von einer for...in-Schleife bereitgestellt wird (mit dem Unterschied, dass eine for-in Schleife auch Eigenschaften in der Prototyp-Kette aufzählt).

Syntax

js
entries(obj)

Parameter

obj

Der CSSUnparsedValue, dessen eigene aufzählbare [key, value]-Paare zurückgegeben werden sollen.

Rückgabewert

Ein Array der eigenen aufzählbaren [key, value]-Paare des gegebenen CSSUnparsedValue-Objekts.

Spezifikationen

No specification found

No specification data found for api.CSSUnparsedValue.entries.
Check for problems with this page or contribute a missing spec_url to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.

Browser-Kompatibilität

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
entries

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
See implementation notes.

Siehe auch