Sign in
apache
/
openwhisk-website
/
5473369ad59d8238760018cc801a574e0dde8951
/
.
/
_includes
/
code
/
manifest-for-helloJS-2.yaml
blob: 64d7d1e640c8d340413535dffc720c6bc29dc652 [
file
] [
log
] [
blame
]
packages:
default:
actions:
helloJS:
code:
|
function main(args) {
const name = args
&&
args.name
||
"stranger"
;
return {
greeting:
`Hello ${name}
!`
};
}
runtime:
nodejs
:
10