📜  类型错误:- Python 代码示例

📅  最后修改于: 2022-03-11 14:45:56.939000             🧑  作者: Mango

代码示例3
try {
  null.f()
} catch (e) {
  console.log(e instanceof TypeError)  
  console.log(e.message)               
  console.log(e.name)                  
  console.log(e.fileName)              
  console.log(e.lineNumber)            
  console.log(e.columnNumber)          
  console.log(e.stack)                 
}
0