This commit is contained in:
Viral Ghelani 2020-10-28 22:18:28 +05:30 committed by GitHub
parent b7352f10dd
commit 4663592d69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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!");