jsgen: add README.md (#21630)

This commit is contained in:
Juan de Bruin 2024-06-02 00:48:51 +02:00 committed by GitHub
parent 12de7cff04
commit 7cff1f7972
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

15
vlib/v/gen/js/README.md Normal file
View file

@ -0,0 +1,15 @@
# JavaScript backend
## Attributes
When specified on an interface, the `@[single_impl]` attribute prevents any type from
implementing it.
## Verbatim lines
Any lines starting with a `#` character will be included verbatim in the final output.
## See also
A lot of important code is under the `vlib/builtin/js` directory. Especially
`jsfns*.js.v` which defines all supported built-in JavaScript types and functions.