GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: hello addon example should return "world" · nodejs/node@d2e9e52

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • addons.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/addons.md‎

Copy file name to clipboardExpand all lines: doc/api/addons.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ napi_value Method(napi_env env, napi_callback_info args) {
408408
napi_value greeting;
409409
napi_status status;
410410

411-
status = napi_create_string_utf8(env, "hello", NAPI_AUTO_LENGTH, &greeting);
411+
status = napi_create_string_utf8(env, "world", NAPI_AUTO_LENGTH, &greeting);
412412
if (status != napi_ok) return nullptr;
413413
return greeting;
414414
}

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.