---
title: "JavaScript调试方法之一"
author: "hellostory"
date: "2010-05-06T09:47:00Z"
tags: []
slug: "javascript"
draft: false
lastmod: "2012-02-22T11:14:01Z"
id: 1416509
url: "https://hellostory.iteye.com/blog/1416509"
---

使用try{...}catch(){} 方式，例子如下：