HTML
<template>
<div class="slds-box">
<p><b>Array:</b> {names}</p>
</div>
</template>
Java Script
import { LightningElement } from 'lwc';
export default class ArrayExample extends LightningElement {
names=['John', 'Emily', 'Smith'];
}
Video
Video does not exists.