Initial commit

This commit is contained in:
2026-02-06 13:52:06 +05:30
commit eb9af2f6ae
5 changed files with 72 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
# Dependencies
node_modules/
.npm
package-lock.json
yarn.lock
# Build output
dist/
build/
.next/
out/
# Environment variables
.env
.env.local
.env.*.local
# Logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# Testing
coverage/
.nyc_output/
# IDE & Editor
.vscode/
.idea/
*.swp
*.swo
*.swn
*~
.DS_Store
# OS
Thumbs.db
.DS_Store
# Misc
.cache/
.turbo/
+4
View File
@@ -0,0 +1,4 @@
// Jest setup file to handle unhandled rejections
process.on('unhandledRejection', (reason, promise) => {
// silently ignore unhandled rejections in tests
});
+21
View File
@@ -0,0 +1,21 @@
{
"name": "js-questions",
"version": "1.0.0",
"description": "JavaScript interview questions and solutions",
"scripts": {
"test": "jest"
},
"jest": {
"testEnvironment": "node",
"collectCoverageFrom": [
"solutions/**/*.js"
],
"testMatch": [
"**/*.test.js"
]
},
"devDependencies": {
"jest": "^29.7.0"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
+3
View File
@@ -0,0 +1,3 @@
## List of all Questions
1. Async task scheduler (with concurrency limit)
View File