javascript

fun javascript(jsx: Boolean = false, typescript: Boolean = false): LanguageSupport

JavaScript language support.

Parameters

jsx

Enable JSX syntax support. When true, the returned language support also includes autoCloseTags.

typescript

Enable TypeScript syntax support. When true, TypeScript-specific snippets are included.