chore: disable delete confirmation in VS Code explorer
Disable the confirmation dialog when deleting files in the VS Code explorer to streamline the development workflow and reduce friction during file management operations.
This commit is contained in:
14
website/node_modules/undefsafe/example.js
generated
vendored
Normal file
14
website/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
|
||||
Reference in New Issue
Block a user