function thread(threadid, title, poster, threaddate, threadtime) { this.threadid = threadid; this.title = title; this.poster = poster; this.threaddate = threaddate; this.threadtime = threadtime; } var threads = new Array(2); threads[0] = new thread(1183171, 'problem z salą weselną', 'Nisia18', '2017-10-08', '14:43'); threads[1] = new thread(1179611, 'ślub cywilny- pytanie', 'Stynka22', '2017-09-25', '08:33');