function
objOne(arg0, arg1) {
this
.getVal =
() {
return
arg0;
}
.getStr =
arg1;
.fun =
fun() {
for
(
var
i=0; i<
.getVal(); i++) {
document.write(
.getStr() +
'<br />'
);
funMake() {
O =
new
objOne(5,
'Hello World!'
O.fun();
<!DOCTYPE html>
<
html
>
head
meta
charset
=
"utf-8"
/>
title
>New Page</
script
src
"js/script.js"
></
</
body
funMake();