Skip to content

Instantly share code, notes, and snippets.

@melvinodsa
Created November 23, 2018 04:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save melvinodsa/45caafd3af7256c3277a23309f37fe3e to your computer and use it in GitHub Desktop.
Save melvinodsa/45caafd3af7256c3277a23309f37fe3e to your computer and use it in GitHub Desktop.
const iNeverFail = insurance({
foo: 'bar',
baz: {
qux: 10,
name: 'yoyo'
},
});
iNeverFail.asd //ƒ anonymous()
iNeverFail.asd.name // "Undefined"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment