例として、このステートメントは
window.Number.constructor.prototype.constructor();
パスのように読む?
C:\Users\Vista\Documents\Work\text.txt
左から右へ
window:\Number\constructor\prototype\constructor()
windowルート オブジェクトはNumberどこですか? 内のオブジェクトです 内windowのオブジェクトですconstructor内のオブジェクトNumberでありprototype内のオブジェクトです ?constructorconstructor()prototype
この声明のように
window.document.myForm.textBox.value;
等しい
[object].[object].[object].[object].1
オブジェクトが実際に互いに作用していない場所はどこですか?
また
実際の値は右から左に読み取られますか?各オブジェクトはそのオブジェクトのすぐ左にあるオブジェクトに作用していますか?
どこ
window.Number.constructor.prototype.constructor();
等しい
[object] . function Number() { [native code] } . function Function() { [native code] } . function prototype() { [native code] } . function anonymous() { }
なので
window.Number(9.256).toFixed(2);
等しい
[object].(9.256).(9.26);
toFixedオブジェクトの戻り値を使用しNumber、結果がオブジェクトのプロパティとして格納されるプロパティはどこwindowですか?
おそらくおわかりのように、私はここでちょっと混乱しています:) ドットの概念に頭を悩ませているだけです。Java のバックグラウンドが役立つと確信していますが、残念ながら (まだ) 持っていません。