---
title: "Donghan Kim (@pendantK) | Hashnode"
description: "Web / iOS / Flutter Developer"
url: "https://hashnode.com/@pendantK"
---

@pendantK

# Donghan Kim

@pendantK · Suwon-si, Korea · Joined October 2023

### [의사난수생성기(prng)를 활용한 클라이언트 사이드 데이터 셔플](https://studio-pendant.hashnode.dev/prng?utm_source=hashnode&utm_medium=feed)

모든 사용자에게 동일한 랜덤 순서를 보여줘야 하는데, DB나 서버에 의존하고 싶지 않다면? 문제 상황 팀의 신규 프로젝트를 맡아 작업 중인 와중에 이런 요구사항을 받았습니다. "캘린더에 표시되는 참여자 순서를 매일 다르게 섞어주세요. 단, 같은 날에는 모든 사용자가 동일한 순서를 봐야 해요." 아.. 아직 짬바가 부족한 저는 이 요구사항을 듣자마자 온갖 방법을 고민해보게 됐습니다. 저는 보통 일단 요구사항의 핵심을 단순화하여 로직으로 바꾼...

5 min read · [studio-pendant.hashnode.dev](https://studio-pendant.hashnode.dev/prng?utm_source=hashnode&utm_medium=feed)

[Jan 7](https://hashnode.com/posts/prng/695db315513c490be9d81780)

### [\[leetcode/JS\] 2619. Array Prototype Last](https://studio-pendant.hashnode.dev/leetcodejs-2619-array-prototype-last?utm_source=hashnode&utm_medium=feed)

문제 https://leetcode.com/problems/array-prototype-last/description/ prototype object Array this 풀이 전체 코드 interface Array<T> { last(): T | -1; } Array.prototype.last = function() { if(this.length < 1) return -1 return this\[this.length...

1 min read · [studio-pendant.hashnode.dev](https://studio-pendant.hashnode.dev/leetcodejs-2619-array-prototype-last?utm_source=hashnode&utm_medium=feed)

[Jan 4](https://hashnode.com/posts/leetcodejs-2619-array-prototype-last/695a1e9a49b7fa24fb41138c)

### [\[leetcode/JS\] 2620. Counter 풀이](https://studio-pendant.hashnode.dev/leetcodejs-2620-counter?utm_source=hashnode&utm_medium=feed)

문제 https://leetcode.com/problems/counter/description/ 일급객체로서의 함수 클로저 풀이 전체 코드 function createCounter(n: number): () => number { let current = n; const counter = (): number => { return current++; }; // 일급객체 counter 함수 리턴 ...

1 min read · [studio-pendant.hashnode.dev](https://studio-pendant.hashnode.dev/leetcodejs-2620-counter?utm_source=hashnode&utm_medium=feed)

[Jan 4](https://hashnode.com/posts/leetcodejs-2620-counter/6959d107a1926bd2b4ec0123)

### [\[TIL/Vite\] 모노레포 process.env 이슈 해결, Pollyfill 활용](https://studio-pendant.hashnode.dev/tilvite-processenv-pollyfill?utm_source=hashnode&utm_medium=feed)

Vite에서 "process is not defined" 에러 해결하기

2 min read · [studio-pendant.hashnode.dev](https://studio-pendant.hashnode.dev/tilvite-processenv-pollyfill?utm_source=hashnode&utm_medium=feed)

[Dec 15, 2025](https://hashnode.com/posts/tilvite-processenv-pollyfill/693feea423b2f55e8f76d103)

### [\[백준/js\] 2178번 : 미로 탐색](https://studio-pendant.hashnode.dev/js-2178?utm_source=hashnode&utm_medium=feed)

백준 2178 미로 탐색 js 정답

1 min read · [studio-pendant.hashnode.dev](https://studio-pendant.hashnode.dev/js-2178?utm_source=hashnode&utm_medium=feed)

[Sep 14, 2025](https://hashnode.com/posts/js-2178/68c65b8b6d243ed1ceb4992f)
