-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcatQueue.js
More file actions
43 lines (37 loc) · 1002 Bytes
/
catQueue.js
File metadata and controls
43 lines (37 loc) · 1002 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
'use strict';
const Q = require('./queue');
const catQueue = new Q.Queue();
catQueue.enqueue(
{
imageURL:'https://assets3.thrillist.com/v1/image/2622128/size/tmg-slideshow_l.jpg',
imageDescription: 'Orange bengal cat with black stripes lounging on concrete.',
name: 'Fluffy',
sex: 'Female',
age: 2,
breed: 'Bengal',
story: 'Thrown on the street.'
}
);
catQueue.enqueue(
{
imageURL:'https://i.imgur.com/KSFeIO1.jpg',
imageDescription: 'Gray cat standing on her hind legs on the bed',
name: 'Einstein',
sex: 'Female',
age: 3,
breed: 'American Shorthair',
story: 'Got too smart for her owner.'
}
);
catQueue.enqueue(
{
imageURL:'https://i.imgur.com/S16mvmE.jpg',
imageDescription: 'Gray maine coon cat with fur shaped to make it look like a little lion',
name: 'Simba',
sex: 'Male',
age: 4,
breed: 'Maine Coon',
story: 'Ran away after getting such a ridiculous hair cut.'
}
);
module.exports = catQueue;