Recall & Review
beginner Click to reveal answer
What was one main reason Deno was created?
Deno was created to fix some design mistakes and security issues found in Node.js.
beginner Click to reveal answer
How does Deno improve security compared to Node.js?
Deno runs code in a secure sandbox by default and requires explicit permission to access files, network, or environment.
intermediate Click to reveal answer
Why does Deno use ES Modules instead of CommonJS like Node.js?
Deno uses ES Modules to follow modern JavaScript standards and improve compatibility with browsers.
intermediate Click to reveal answer
What is one way Deno simplifies dependency management compared to Node.js?
Deno uses URL imports directly without a package manager like npm, reducing complexity and central points of failure.
intermediate Click to reveal answer
How does Deno handle tooling differently than Node.js?
Deno includes built-in tools like a formatter, linter, and test runner, so developers don’t need to install many separate packages.
What security feature does Deno have that Node.js lacks by default?
✗ Incorrect
Deno runs code in a secure sandbox and requires explicit permissions for file, network, or environment access.
Which module system does Deno use?
✗ Incorrect
Deno uses ES Modules to align with modern JavaScript standards.
How does Deno handle dependencies?
✗ Incorrect
Deno imports modules directly from URLs, avoiding the need for a package manager like npm.
What built-in tools does Deno provide?
✗ Incorrect
Deno includes built-in tools such as a code formatter, linter, and test runner.
Why was Deno created by the same person who made Node.js?
✗ Incorrect
Deno was created to fix design mistakes and security issues found in Node.js.
Explain why Deno was created to fix Node.js mistakes. What are the key improvements?
Think about security, modules, dependencies, and tools.
You got /4 concepts.
Describe how Deno’s approach to modules and dependencies differs from Node.js.
Focus on module system and how dependencies are loaded.
You got /4 concepts.
