MCPcopy Create free account
hub / github.com/nodejs/node / storageSetItem

Function storageSetItem

deps/v8/tools/turbolizer/src/common/util.ts:86–88  ·  view source on GitHub ↗
(key: string, value: any)

Source from the content-addressed store, hash-verified

84}
85
86export function storageSetItem(key: string, value: any): void {
87 window.sessionStorage.setItem(key, value);
88}
89
90export function storageSetIfIsNotExist(key: string, toSet: any): void {
91 if (storageGetItem(key, null, false) === null) storageSetItem(key, toSet);

Callers 15

rangesUpdateMethod · 0.90
sourceUpdateMethod · 0.90
disassemblyUpdateMethod · 0.90
constructorMethod · 0.90
dragRangesEndMethod · 0.90
displayNextGraphPhaseMethod · 0.90
initializeSelectMethod · 0.90
resetMethod · 0.90
searchInputActionMethod · 0.90
addCustomDataSelectMethod · 0.90
searchInputActionMethod · 0.90

Calls 1

setItemMethod · 0.45

Tested by

no test coverage detected