I've always been told that when debugging an application, JavaScript's console.log()
method is preferred over simply using an alert()
method. Why is this? Is there a good example someone can point me to where console.log()
is obviously the better choice?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…