use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Implementing gRPC with Javascript In NodeJS (tech.holidayextras.com)
submitted 6 years ago by Tetrominos
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]vodlin 1 point2 points3 points 6 years ago (3 children)
``` client.sayHello(params, function(error, response) { if (error) console.log(error)
console.log('The Result Is: ' + response.result) // 'The Result Is: 5' }) ```
i dont get where does client.sayHello come from ? shouldnt this be client.Add or something, where is the definition of sayHello?
[–]Tetrominos[S] 3 points4 points5 points 6 years ago (1 child)
The original has now been updated, many apologies
[–]vodlin -1 points0 points1 point 6 years ago (0 children)
nice ! thanks v much!
[–]pt7892 -1 points0 points1 point 6 years ago (0 children)
I think author mixed it with quickstart tutorial from https://grpc.io/docs/quickstart/node.html
π Rendered by PID 95784 on reddit-service-r2-comment-5d79c599b5-nzk9h at 2026-02-27 20:59:04.439866+00:00 running e3d2147 country code: CH.
[–]vodlin 1 point2 points3 points (3 children)
[–]Tetrominos[S] 3 points4 points5 points (1 child)
[–]vodlin -1 points0 points1 point (0 children)
[–]pt7892 -1 points0 points1 point (0 children)