Function genBrowserAttrs

  • Generate browser attributes.

    Usage:

    const attrs = genBrowserAttrs();
    console.log(attrs);

    Output:

    ["windows", "desktop", "webkit", "chrome"]
    

    Parameters

    • prefix: string = ""
    • separator: string = "-"

    Returns string[]

    Browser attributes