function
objOne(arg0, arg1) {
this
.val = arg0 || 3;
.str = arg1 ||
'To be or not to be?'
;
.fun =
fun() {
for
(
var
i=0; i<
.val; i++) {
document.write(
.str +
'<br />'
);
}
funMake() {
O =
new
objOne();
O.fun();
<!DOCTYPE html>
<
html
>
head
meta
charset
=
"utf-8"
/>
title
>New Page</
script
src
"js/script.js"
></
</
body
funMake();