JavaScript :: 유일한 ID 만들기. var newID = function () { return Math.random().toString(36).substr(2, 16); } console.log(newID());