Initial working google auth
This commit is contained in:
parent
fb52d49f74
commit
00a40f6bba
1058 changed files with 114441 additions and 0 deletions
14
auth-service/node_modules/undefsafe/example.js
generated
vendored
Normal file
14
auth-service/node_modules/undefsafe/example.js
generated
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
var undefsafe = require('undefsafe');
|
||||
|
||||
var object = {
|
||||
a: {
|
||||
b: {
|
||||
c: 1,
|
||||
d: [1, 2, 3],
|
||||
e: 'remy'
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
console.log(undefsafe(object, 'a.b.e')); // "remy"
|
||||
console.log(undefsafe(object, 'a.b.not.found')); // undefined
|
||||
Loading…
Add table
Add a link
Reference in a new issue