Notes
Every component must have a JavaScript file.
To import a class, function, or variable declared in a module, use the import
statement. To allow other code to use a class, function, or variable declared in a module, use the export
statement.
A component’s JavaScript file can have a maximum file size of 128 KB (131,072 bytes).
import { LightningElement } from 'lwc';
export default class MyComponent extends LightningElement {
}