<div dir="ltr">X3D = function() {<br>        this.toFileX3D = function() {};<br>        this.toFileJSON = function() {};<br>}<br>head = function() {}<br>meta = function() {}<br>Scene = function() {}<br>Script = function() {}<br>var X3D0 =  new X3D({profile:"Immersive",version:"3.3"},<br>      new head({},<br>        new meta({content:"test.x3d",name:"title"}),<br>        new meta({content:"Example test creates an X3D model",name:"description"}),<br>        new meta({content:"6 September 2016",name:"created"}),<br>        new meta({content:"12 January 2020",name:"modified"}),<br>        new meta({content:"John Carlson",name:"creator"}),<br>        new meta({content:"../license.html",name:"license"})),<br>      new Scene({},<br>        new Script({url:["examples/HelloWorldProgramOutput.js", "HelloWorldProgramOutput.js"]})))      ;<br>X3D0.toFileX3D("examples/test.new.x3d");<br>X3D0.toFileJSON("examples/test.new.json");<br></div>