lab_work3

This commit is contained in:
2025-05-05 17:26:53 +04:00
parent 307c2b89d0
commit edd470aa16
8988 changed files with 857846 additions and 609 deletions

12
node_modules/nice-try/src/index.js generated vendored Normal file
View File

@@ -0,0 +1,12 @@
'use strict'
/**
* Tries to execute a function and discards any error that occurs.
* @param {Function} fn - Function that might or might not throw an error.
* @returns {?*} Return-value of the function when no error occurred.
*/
module.exports = function(fn) {
try { return fn() } catch (e) {}
}