@seanox/aspect-js
Version:
full stack JavaScript framework for SPAs incl. reactivity rendering, mvc / mvvm, models, expression language, datasource, virtual paths, unit test and some more
184 lines (150 loc) • 4.55 kB
Plain Text
goanna
----
mapping:
----
and && empty ! div /
eq == eeq === ge >=
gt > le <= lt <
mod % ne != nee !==
not ! or ||
normal use:
----
true true
true true
true true
true true
true true
false false
false false
false false
false false
false false
true true
false false
true true
false false
false false
false false
false false
false false
true true
false false
false false
false false
true true
false false
true true
false false
true true
true true
false false
true true
false false
true true
true true
true true
true true
true true
false false
true true
true true
true true
true true
true true
true true
true true
true true
true true
true true
invalid word boundaries:
----
trueandtrue is not defined in trueandtrue true
trueeqtrue is not defined in trueeqtrue true
identifier starts immediately after numeric literal in 1le2 true
identifier starts immediately after numeric literal in 1ne2 true
true true
identifier starts immediately after numeric literal in 2ge1 true
identifier starts immediately after numeric literal in 1lt2 true
true true
missing ; before statement in notempty'x' true
identifier starts immediately after numeric literal in (25div5)eq5 missing ; before statement in (25 /5)eq5
identifier starts immediately after numeric literal in 2gt1 true
identifier starts immediately after numeric literal in (10mod3)eq1 missing ; before statement in (10%3)eq1
trueorfalse is not defined in trueorfalse true
lower / upper case:
----
true true
true true
true true
true true
true true
true true
true true
true true
true true
true true
true true
true true
true true
various
----
-1
1
-12
unknown is not defined in unknown
unknown is not defined in unknown + '123'
A1: Peter is not defined in Peter
A2: Peter is not defined in Peter.und.der.Wolf
A3: Peter is not defined in Peter.und.der()
B1: [object HTMLInputElement]
B2: document.getElementById(...).value is not a function in document.getElementById("HiddenField").value()
B3: Test-HF
C1: ~~~Error_1~ in #document.getElementById("HiddenField")
C2: ~~~Error_1~ in #document.getElementById("HiddenField").value()
C3: ~~~Error_1~ in #document.getElementById("HiddenField").value()
D1:
E1: ~~~Error_1~ in #
E2: ~~~Error_1~ in # + #
F1: document.getElementById(...).value is not a function in '123' + document.getElementById("HiddenField").value() + 'abc'
F2: 123Test-HFabc
G1: [object HTMLInputElement]
G2: document.getElementById(...).document is undefined in document.getElementById("HiddenField_1").document.getElementById("HiddenField_1")
G3: document.getElementById(...).document is undefined in document.getElementById("HiddenField_1").document.getElementById("HiddenField_2")
G4: missing ; before statement in document.getElementById("HiddenField_1") document.getElementById("HiddenField_2")
G5: missing ; before statement in document.getElementById("HiddenField_1")document.getElementById("HiddenField_2")
X0: <input id="HiddenField" value="Test-HF" type="hidden">
X1: <input id="HiddenField_1" value="Test-HF_A" type="hidden">
X2: <input id="HiddenField_2" value="Test-HF_B" type="hidden">
X3: <input id="HiddenField_3" value="Test-HF_C" type="hidden">
O1: <span>undefined</span>
O2: <span>xa() {
return 122;
}</span>
O3: <span>122</span>
O4: <span>xxxx</span>
O5: <span>xxxx</span>
O6: <span>xxxxx</span>
O7: <span><i>Hallo</i></span>
P1: abcdef #
P2: abcdef #
Q1: abcdef
Q2: abcdef
Q3: abcdef
Q4: abcdef
Q5: abc' + 'def
Q6: abc" + "def
QA: abc\def\
QB: abc\def\
QC: abc\def\
QD: abc\def\
QE: abc\' + 'def\
QF: abc\" + "def\
R1: abc'd'ef
R2: abc"d"ef
R3: abc'd"ef
R4: abc'd"ef
R5: abc'd'ef
R6: abc"d"ef
R7: abc'd"ef
R8: abc'd"ef
S1: <span>6</span>