-
Notifications
You must be signed in to change notification settings - Fork 0
/
data.json
55 lines (53 loc) · 3.04 KB
/
data.json
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
44
45
46
47
48
49
50
51
52
53
54
55
var flashcard_QA = [
{
"q": "<h3>What is JSON?</h3>",
"a": "<p>JavaScript Object Notation is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate.</p>",
"link": "https://www.toptal.com/javascript/interview-questions",
"category": "javascript"
},{
"q": "<h3>What is the differnce between <br>== and ===?</h3>",
"a": "'==' allows for coersion</p>",
"link": "https://www.toptal.com/javascript/interview-questions",
"category": "javascript"
},{
"q": "<h3>What is the differnce between null and undefined?</h3>",
"a": "Null is an object. Undefined is when you decalre a variable but don't assign it.",
"link": "https://www.toptal.com/javascript/interview-questions",
"category": "javascript"
},{
"q": "<h3>What is a Global variable?</h3>",
"a": "Global variables live as long as your application lives. Local variables have short lives. They are created when the function is invoked, and deleted when the function is finished.",
"link": "https://www.toptal.com/javascript/interview-questions",
"category": "javascript"
},{
"q": "<h3>What does this refer to in Javascript?</h3>",
"a": "The value of this, when used in a function, is the object that 'owns' the function. This is defined in the context in which it is called.",
"link": "https://www.toptal.com/javascript/interview-questions",
"category": "javascript"
},{
"q": "<h3>What is a closure?</h3>",
"a": "It makes it possible for a function to have 'private' variables. Inner variables are protected by the scope of an anonymous function, and can only be changed using the parent function.",
"link": "https://www.w3schools.com/js/js_function_closures.asp",
"category": "javascript"
},{
"q": "<h3>What is encapsulation?</h3>",
"a": "Encapsulation is the ability of an object to be a container (or capsule) for its member properties, including variables and methods.",
"link": "http://stackoverflow.com/questions/3597087/encapsulation-in-javascript",
"category": "javascript"
},{
"q": "<h3>What does the term headless mean?</h3>",
"a": "Without a graphical display.",
"link": "http://stackoverflow.com/questions/4647719/what-does-headless-mean",
"category": "javascript"
},{
"q": "<h3>What is namespacing?</h3>",
"a": "Namespacing is a technique employed to avoid collisions with other objects or variables in the global namespace.",
"link": "http://stackoverflow.com/questions/4647719/what-does-headless-mean",
"category": "javascript"
},{
"q": "<h3>What are modules?</h3>",
"a": "Like a book chapter, modules are just clusters of words (or code, as the case may be). Anonymous closure, global import, Object Interface, Reveal module",
"link": "https://medium.freecodecamp.com/javascript-modules-a-beginner-s-guide-783f7d7a5fcc",
"category": "javascript"
}
]