//Paste the code into script tagfor ( var prop in document ) {with (document ) { write(prop + " = "); writeln(eval(prop), " ");}}