Initialisation du code

This commit is contained in:
2024-01-04 17:34:54 +01:00
parent 8a5ed5a788
commit bfee7c82e5
1487 changed files with 171485 additions and 0 deletions

14
node_modules/undefsafe/example.js generated vendored Normal file
View 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