example 0.3: JavaScript object sugar

Here are some lines of code.

Same code again in other style.

var renderer = new THREE.WebGLRenderer();
renderer.setSize( 800, 400 );
document.body.appendChild( renderer.domElement );

1-2-three
example 0.3