Think you might not have grasped the main benefit of with … it’s for setting lots of properties, e.g.

var oMyElement = document.createElement( 'DIV' );
with ( oMyElement )
{
id = 'Fred';
with ( style )
{
width = '100px';
height = '100px';
display = 'inline';
}
}