98 Js

function safeGet(obj, path, defaultValue) return path.split('.').reduce((acc, key) => acc?.[key] ?? defaultValue, obj);

In the world of fine wine, "98 JS" is a shorthand notation for a awarded by renowned critic James Suckling function safeGet(obj, path, defaultValue) return path