Context
Search for nodes only inside of the provided context
(Can be any valid Selector)
Content
Content that can be inserted into a document
Can be an Element, a String of HTML markup from which new elements can be created, a Function that returns valid Content, or an Array of any of the above
document.createElement('div')
'<div>'
function(){ return '<div>'; }
[document.createElement('div'), '<div>']
Object
A collection of key:value pairs
{
a: 123,
b: "apple",
c: [1,2,3],
d: function(){}
}
Array
A list of items
[
"alpha",
"bravo",
"charlie",
123,
true
]
Function
An object that can be invoked to perform some operation and return some value
function(){
// do something
return -1;
}