Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ values
Function
values
src/polyfills/object-values.js:8–10 ·
view source on GitHub ↗
(target)
Source
from the content-addressed store, hash-verified
6
* @
return
{!Array<*>}
7
*/
8
export
function
values(target) {
9
return
Object.keys(target).map((k) => target[k]);
10
}
11
12
/**
13
* Sets the Object.values polyfill
if
it does not exist.
Callers
1
test-object-values.js
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected