mirror of
https://github.com/bellard/quickjs.git
synced 2024-11-26 23:58:13 +08:00
commit
e682f63cd0
@ -58,6 +58,6 @@ assert(t3,t3a);
|
|||||||
var t4 = <div id="foo" class="bar"><h1>header</h1><button>clicks</button></div>;
|
var t4 = <div id="foo" class="bar"><h1>header</h1><button>clicks</button></div>;
|
||||||
var t4a = ["div",{id:"foo",class:"bar"},[["h1",{},["header"]],["button",{},["clicks"]]]];
|
var t4a = ["div",{id:"foo",class:"bar"},[["h1",{},["header"]],["button",{},["clicks"]]]];
|
||||||
|
|
||||||
assert(t3,t3a);
|
assert(t4,t4a);
|
||||||
|
|
||||||
console.log("JSX test passed!");
|
console.log("JSX test passed!");
|
Loading…
Reference in New Issue
Block a user