Practical user agent implementations have limits on the number and
size of cookies that they can store. In general, user agents' cookie
support should have no fixed limits. They should strive to store as
many frequently-used cookies as possible. Furthermore, general-use
user agents should provide each of the following minimum capabilities
individually, although not necessarily simultaneously:
* at least 300 cookies
* at least 4096 bytes per cookie (as measured by the size of the
characters that comprise the cookie non-terminal in the syntax
description of the Set-Cookie header)
* at least 20 cookies per unique host or domain name
User agents created for specific purposes or for limited-capacity
devices should provide at least 20 cookies of 4096 bytes, to ensure
that the user can interact with a session-based origin server.
Дратути, я сделал на vue вот это и вот это, но никак не могу понять, как делать вот это / у меня вот здесь ошибка, я пробовал её пофиксить вот так и вот так. Как это реализовать/фиксить?
хотелось бы получить достойный результат с минимальным погружением в язык программирования
- var friends = 10
case friends
when 0
p you have no friends
when 1
p you have a friend
default
p you have #{friends} friends
p you have 10 friends
p you have no friends
<p>you have no friends</p>