From 55fabd7337182f8cb8a9582db20df4aa1191801c Mon Sep 17 00:00:00 2001 From: Vipin Menon Date: Wed, 8 Nov 2017 12:06:07 +0530 Subject: [PATCH] doc: fix a typo in n-api documentation Backport-PR-URL: https://github.com/nodejs/node/pull/19447 PR-URL: https://github.com/nodejs/node/pull/16879 Reviewed-By: Gireesh Punathil Reviewed-By: Daniel Bevenius Reviewed-By: Rich Trott --- doc/api/n-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/n-api.md b/doc/api/n-api.md index a0cd03eae8a8ae..3aaebad44a9914 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -293,7 +293,7 @@ must be called in order to determine if an exception is pending or not. When an exception is pending one of two approaches can be employed. -The first appoach is to do any appropriate cleanup and then return so that +The first approach is to do any appropriate cleanup and then return so that execution will return to JavaScript. As part of the transition back to JavaScript the exception will be thrown at the point in the JavaScript code where the native method was invoked. The behavior of most N-API calls