UNPKG

@seanox/aspect-js

Version:

full stack JavaScript framework for SPAs incl. reactivity rendering, mvc / mvvm, models, expression language, datasource, routing, paths, unit test and some more

184 lines (150 loc) 5.41 kB
webkit ---- mapping: ---- and &amp;&amp; empty ! div / eq == eeq === ge &gt;= gt &gt; le &lt;= lt &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: ---- Error: Can't find variable: trueandtrue in trueandtrue true Error: Can't find variable: trueeqtrue in trueeqtrue true Error: No identifiers allowed directly after numeric literal in 1le2 true Error: No identifiers allowed directly after numeric literal in 1ne2 true true true Error: No identifiers allowed directly after numeric literal in 2ge1 true Error: No identifiers allowed directly after numeric literal in 1lt2 true true true Error: Unexpected string literal 'x' in notempty'x' true Error: No identifiers allowed directly after numeric literal in (25div5)eq5 Error: Unexpected identifier 'eq5' in (25 /5)eq5 Error: No identifiers allowed directly after numeric literal in 2gt1 true Error: No identifiers allowed directly after numeric literal in (10mod3)eq1 Error: Unexpected identifier 'eq1' in (10%3)eq1 Error: Can't find variable: trueorfalse 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 Error: Can't find variable: unknown in unknown Error: Can't find variable: unknown in unknown + '123' A1: Error: Can't find variable: Peter in Peter A2: Error: Can't find variable: Peter in Peter.und.der.Wolf A3: Error: Can't find variable: Peter in Peter.und.der() B1: [object HTMLInputElement] B2: Error: document.getElementById("HiddenField").value is not a function. (In 'document.getElementById("HiddenField").value()', 'document.getElementById("HiddenField").value' is "Test-HF") in document.getElementById("HiddenField").value() B3: Test-HF C1: Error: Bare private name can only be used as the left-hand side of an `in` expression. in #document.getElementById("HiddenField") C2: Error: Bare private name can only be used as the left-hand side of an `in` expression. in #document.getElementById("HiddenField").value() C3: Error: Bare private name can only be used as the left-hand side of an `in` expression. in #document.getElementById("HiddenField").value() D1: E1: Error: ~~~Error_1~: '#' in # E2: Error: ~~~Error_1~: '#' in # + # F1: Error: document.getElementById("HiddenField").value is not a function. (In 'document.getElementById("HiddenField").value()', 'document.getElementById("HiddenField").value' is "Test-HF") in '123' + document.getElementById("HiddenField").value() + 'abc' F2: 123Test-HFabc G1: [object HTMLInputElement] G2: Error: undefined is not an object (evaluating 'document.getElementById("HiddenField_1").document.getElementById') in document.getElementById("HiddenField_1").document.getElementById("HiddenField_1") G3: Error: undefined is not an object (evaluating 'document.getElementById("HiddenField_1").document.getElementById') in document.getElementById("HiddenField_1").document.getElementById("HiddenField_2") G4: Error: Unexpected identifier 'document' in document.getElementById("HiddenField_1") document.getElementById("HiddenField_2") G5: Error: Unexpected identifier 'document' in document.getElementById("HiddenField_1")document.getElementById("HiddenField_2") X0: <input type="hidden" id="HiddenField" value="Test-HF"> X1: <input type="hidden" id="HiddenField_1" value="Test-HF_A"> X2: <input type="hidden" id="HiddenField_2" value="Test-HF_B"> X3: <input type="hidden" id="HiddenField_3" value="Test-HF_C"> 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>