pragma solidity ^0.8.4;
// this is a storage dynamic array its persistent on storage, not memory(not wiped off)
contract arrays {
    uint[] test=[1, 2, 3];

    function get() public view returns(uint256 memory){
        return test;
    }
}