View difference between Paste ID: m0AGGx7b and H0hA4Czf
SHOW: | | - or go back to the newest paste.
1
let samplePosts=[
2
  {
3
    title: "Is this true",
4
    pictureUrl: "eye.jpg",
5
    text: "Bla bla bla bla bla",
6
    date: new Date(1995, 6, 1, 11, 12, 13, 0), // Add the date here in brackets as new Date(year, month, day, hour, minute, second, milliseconds)
7
    user: "Viona",
8
    upvotes: 18,
9
    downvotes: 3,
10
    comments: [
11
      {
12
        id: 0, 
13
        date: new Date(),
14
        text: "I like it",
15
        user: "Daniel",
16
        upvotes: 1,
17
        downvotes: 1312
18
      }
19
    ]
20
  }, 
21
  {
22
    title: "China has it's own space lab?",
23
    pictureUrl: "0004.jpg",
24
    text: "......legislation barring such cooperation and concerns over the Chinese space program's strong military connections. Chinese officials are now looking to internationalize their own program by offering to help finance other countries' missions to Tiangong 2. Since China conducted its first crewed space mission in 2003, it has staged a spacewalk and landed its Jade Rabbit rover on the moon. A mission to land another rover on Mars and bring back samples is set to launch in 2020, while China also plans to become the first country to soft-land a probe on the far side of the moon. Read more at: https://phys.org/news/2017-04-china-cou",
25
    date: new Date(),
26
    user: "Chris Zog",
27
    upvotes: 18,
28
    downvotes: 3,
29
    comments: [
30
      {
31
        id: 0,
32
        date: new Date(),
33
        text: "CSS? that ISS is totaly bogus.I have cought them in a straight out cycle of fake footage and actual live no so live cut outs when they need to cut, it honestly is to much trouble to even begin with the desepion of NASA.",
34
        user: "Daniel",
35
        upvotes: 1,
36
        downvotes: 1312
37
      }
38
    ]
39
  }
40
]