Function getStorage

  • return the device storage

    Parameters

    • Optionaltype: string = "local"

    Returns object

    a reference to the device storage

    device

    save