Loading ...
Sorry, an error occurred while loading the content.

195Re: [caplet] ADsafe

Expand Messages
  • Mike Samuel
    Apr 11, 2008
    • 0 Attachment
      On 11/04/2008, David-Sarah Hopwood
      <david.hopwood@...> wrote:
      >
      >
      >
      >
      >
      >
      > Mike Samuel wrote:
      > > David-Sarah Hopwood <david.hopwood@...> wrote:
      > >> Mark Miller wrote:
      > >> > Mike Samuel <mikesamuel@...> wrote:
      > >> >> Mark Miller <erights@...> wrote:
      > >> >> > Douglas Crockford <douglas@...> wrote:
      > >> >> > > [...] or string literals that are not legal identifiers.
      > >> >>
      > >> >> and "-Infinity"
      > >> >
      > >> > I purposely left that out because it would already be covered by
      > >> > Crock's "not legal identifiers" rule.
      > >>
      > >> IIUC, foo['-Infinity'] would be, but foo[-Infinity] wouldn't.
      > >
      > > The two are identical.
      >
      > They are evaluated identically (if Infinity is an unshadowable constant),
      > but they have different syntax trees. Crock' rule was defined syntactically;
      > -Infinity without the quotes is not a string literal.

      Ok. Understood.
    • Show all 36 messages in this topic