jaaJSU — Examples
⇠ Go back to GitHub repositoryContent
⇡ $array
Notes
Examples
1
View with highliting (link to source of this file)
{"item":"A","last":false,"key":0}
{"item":"B","last":true,"key":1}
View with highliting (link to source of this file)
{"item":"A","key":0}
{"item":"B","key":1}
{"item":"C","key":2}
View with highliting (link to source of this file)
"1"
View with highliting (link to source of this file)
["A",["B","C","D"]]
[["A","B","C"],"D"]
[["A","B"],["C","D"]]
[["A","B"],["C","D"]]
[["B"],["A","C","D"]]
View with highliting (link to source of this file)
["A","C","D"]
["A","B","C","D","B"]
View with highliting (link to source of this file)
["A","B","D","C"]
⇡ $function
Notes
Examples
"No changes: "
"A"
"B"
"C"
"D"
"Filter+reorder: "
"C"
"B"
View with highliting (link to source of this file)
"B"
"A"
"`This` example"
View with highliting (link to source of this file)
true
false
View with highliting (link to source of this file)
"A"
"B"
View with highliting (link to source of this file)
"A"
"False"
View with highliting (link to source of this file)
["A",10,{"a":"A"}]
View with highliting (link to source of this file)
"a: "
["A",10,{"a":"A"}]
"b: "
["A",10,{"a":"A"}]
View with highliting (link to source of this file)
"Exception: mixed value possible"
View with highliting (link to source of this file)
"e instanceof Error: true"
"Exception Error: mixed value possible"
View with highliting (link to source of this file)
["A","B","C","D"]
["A","Z","D"]
View with highliting (link to source of this file)
["A",10,{"a":"A"}]
View with highliting (link to source of this file)
"T"
["A","B","C","D"]
"VS regular `bind`"
"null"
["A","B","C","D"]
View with highliting (link to source of this file)
"T"
["C","D","A","B"]
"VS regular `bind`"
"null"
["A","B","C","D"]
View with highliting (link to source of this file)
"Defaults to `setTimeout` with 150ms delay"
View with highliting (link to source of this file)
true
"T"
View with highliting (link to source of this file)
"A"
"B"
"C"
"D"
" -- -- --"
"A"
"Z"
"D"
View with highliting (link to source of this file)
50
50
-5
View with highliting (link to source of this file)
[2,3,4,5,6,7,8,9,10,0,1,2,3]
View with highliting (link to source of this file)
5
6