MCPcopy Create free account
hub / github.com/ampproject/amphtml / getStorageKey

Function getStorageKey

extensions/amp-analytics/0.1/session-manager.js:297–299  ·  view source on GitHub ↗

* @param {string} type * @return {string}

(type)

Source from the content-addressed store, hash-verified

295 * @return {string}
296 */
297function getStorageKey(type) {
298 return SESSION_STORAGE_KEY + type;
299}
300
301/**
302 * @param {*} storedSession

Callers 2

getOrCreateSession_Method · 0.70
setSession_Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected