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(3); threads[0] = new thread(407077, 'test....', 'جار القمر', '28-11-2020', '11:09 PM'); threads[1] = new thread(405375, 'قناة تهتم بكل ما جديد في عالم الألعاب', 'فرح جمعة', '04-11-2020', '03:40 AM'); threads[2] = new thread(405368, 'قناة top gaming player', 'فرح جمعة', '03-11-2020', '12:24 PM');