# 버그를 찾아라: React Native > 코드 한 조각. 버그를 찾거나, 버그가 없음을 증명하세요. 데일리 챌린지: 2026-08-19 (UTC) · Mid-Level ```tsx import * as SQLite from 'expo-sqlite' const db = SQLite.openDatabaseSync('blog.db') type Post = { id: number; title: string; author_id: number } export async function loadPostsWithAuthors() { const posts = await db.getAllAsync('SELECT id, title, author_id FROM posts') const enriched = [] for (const post of posts) { const author = await db.getFirstAsync( 'SELECT name FROM users WHERE id = ?', post.author_id ) enriched.push({ ...post, author }) } return enriched } ``` ## 당신의 판단 - 보안 취약점 - 로직 버그 - 코드 스타일 - 문제 없음 하루 한 번. 제출하면 바로 정답이 표시됩니다. --- Source: SharpSkill (https://sharpskill.dev), tech interview preparation for your real stack. HTML version of this page: https://sharpskill.dev/ko/daily/react-native