Complete the code to import the 'path' module in Deno.
import * as path from '[1]';
In Deno, Node.js built-in modules are imported with the 'node:' prefix.
Complete the code to use the 'join' function from the 'path' module.
const fullPath = path.[1]('folder', 'file.txt');
The 'join' function combines path segments into one path string.
Fix the error in importing the 'fs' module in Deno.
import fs from '[1]';
Deno requires the 'node:' prefix to import Node.js built-in modules like 'fs'.
Fill both blanks to import and use the 'readFileSync' function from the 'fs' module.
import { [1] } from '[2]'; const data = readFileSync('./file.txt', 'utf-8');
Use named import 'readFileSync' from 'node:fs' to read files synchronously in Deno.
Fill all three blanks to import 'createServer' from 'http' module and create a simple server.
import { [1] } from '[2]'; const server = [3]((req, res) => { res.end('Hello from Deno!'); }); server.listen(8080);
Import 'createServer' from 'node:http' and call it to create a server instance.
