cloudflare / cloudflare/workerd
🐛 Bug Report — Runtime APIs
Open
- Dominant language
- C++
- Stars
- 8.7k
- Forks
- 739
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 174
Description
passing a function through doesn't pass the comments '/// comments here'
`function test(input: string) {
// this is a function
}`
`async run(fn: Function) {
return fn
}`
`console.log(run(test))`
so basically it will return the function but not the //comments
on node it shows the comments, is this by design?
seems like they get stripped out on workerd
Contributor guide
Assessment
This issue has not been assessed yet.