?? [s?:rs]

n. ??, ??, ?? ??; ??? ???? ??

vt. ...; ??( ?? ???

vi. ??? ??, ???, ?? ??, ????(?? ???) ??

3?? ??: ?? ??: ?? ?? ??: ?? ?? ??: ?? ?? ??: sourced

?????? toSource() ??? ???

toSource() ???? ??? ??????

toSource() ???? ??? ?? ??? ???? ???? ?????. ???? ? toSource ???? ???? ??? ??? ? ? ????.

??: ??? ?? ??? ?????. ? ?? ?? Array ???? ??? ?? ??? ?????. toSource() ???? ????? ??????? JavaScript? ?? ???? ???? ??? ????? ???? ????.

??: ??object.toSource()

??: Gecko ?? ????(?: Firefox)?? ? ??? ?????. ?, IE, Safari, Chrome, Opera ? ?? ????? ? ??? ???? ????.

?????? toSource() ??? ?

<html>
<body>

<script type="text/javascript">

function employee(name,job,born)
{
this.name=name;
this.job=job;
this.born=born;
}

var bill=new employee("Bill Gates","Engineer",1985);

document.write(bill.toSource());

</script>

</body>
</html>

???? ?? ?

??? ????? ??? "???? ??" ??? ?????