The read-only buffer prototype property of the WebAssembly.Memory object returns the buffer contained in the memory.
buffer
WebAssembly.Memory
MDN Reference