为什么在“creditText”行上说“lbp is undefined”?如何在这样的配置文件中引用以前的属性?
var lbp = {
// Pertinant page properties, such as Author, Keywords, URL or Title
page: {
theURL: window.location.toString(),
},
// Configurable user defaults
defaults: {
creditText: lbp.page.theURL
}
}
在此先感谢您的帮助