Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/interoperability/export-to-javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ followed by the JavaScript export name.

While an `@JSExport`ed method inside an `@JSExportTopLevel` object allows JavaScript code to call a "static" method,
it does not feel like a top-level function from JavaScript's point of view.
`@JSExportTopLevel` can also be used directory on a method of a top-level
`@JSExportTopLevel` can also be used directly on a method of a top-level
object, which exports the method as a truly top-level function:

{% highlight scala %}
Expand Down