← 문제 목록
입문
TypeScript
10P
const 재할당 오류
다음 TypeScript 코드에서 버그를 찾으세요:
TYPESCRIPT
const API_URL: string = "https://api.example.com";
if (process.env.NODE_ENV === "development") {
API_URL = "http://localhost:3000";
}
console.log(API_URL);
0명 풀이 · 정답률 0%