var
Obj = {
val: 10,
str:
'Hello World!'
}
delete
Obj.val;
function
funMake() {
document.write(Obj.val +
'<br />'
);
document.write(Obj.str +
var Obj = { val: 10, str: 'Hello World!' } delete Obj.val; function funMake() { document.write(Obj.val + ''); document.write(Obj.str + ''); }
<!DOCTYPE html>
<
html
>
head
meta
charset
=
"utf-8"
/>
title
>New Page</
script
src
"js/script.js"
></
</
body
funMake();