Function getCookie

  • Read cookie by name

    Parameters

    • name: string

      cookie name

    Returns any

    • the cookie string
    getCookie('data1')
    // 100

    1.0.2