class Stack implements StackApiimport { Stack } from "https://deno.land/x/datastructure@1.1.0/stack/stack.ts"; ConstructorsnewStack()Propertiessize: numberMethodsgetBottom()getTop()iterator()log()pop()push(data: DataType<any>)search(key: string | number)update(key: string | number, newValue: any)