use const

This commit is contained in:
syumai 2024-01-03 00:20:04 +09:00
parent 647f1f0e2f
commit 7727989dbe

View File

@ -10,7 +10,7 @@ export class Counter {
// Handle HTTP requests from clients. // Handle HTTP requests from clients.
async fetch(request) { async fetch(request) {
// Apply requested action. // Apply requested action.
let url = new URL(request.url); const url = new URL(request.url);
// Durable Object storage is automatically cached in-memory, so reading the // Durable Object storage is automatically cached in-memory, so reading the
// same key every request is fast. (That said, you could also store the // same key every request is fast. (That said, you could also store the