CSSUnparsedValue: entries() method

Limited availability

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

The CSSUnparsedValue.entries() method returns an array of a given object's own enumerable property [key, value] pairs in the same order as that provided by a for...in loop (the difference being that a for-in loop enumerates properties in the prototype chain as well).

Syntax

js
entries(obj)

Parameters

obj

The CSSUnparsedValue whose enumerable own property [key, value] pairs are to be returned.

Return value

An array of the given CSSUnparsedValue object's own enumerable property [key, value] pairs.

Specifications

This feature does not appear to be defined in any specification.

Browser compatibility

See also