讓我們想象,我有一些代碼: var someString = "";
function do1(){
doA();
doB();
}
function doA(){
// some process that takes time and gets me a value
someString = // the value I got in prior
我有一個bug,實際上這是錯誤,這是通知,但仍然,我想修復它; 當我嘗試訪問的頁面與null role,其顯示的信息: Notice: Trying to get property of non-object in C:\Zend\Apache2\htdocs\hotelrwanda\application\plugin\AccessCheck.php on line 18 怎樣才能得到它固定在這