const getEntry = function()

in platform/core/common/services/fds-storage.service.js [57:70]


const getEntry = function (key) {
    try {
        // parse the entry
        const entry = JSON.parse(localStorage.getItem(key));

        // ensure the entry and item are present
        if (isDefinedAndNotNull(entry)) {
            return entry;
        }
        return null;
    } catch (e) {
        return null;
    }
};