reserved words as properties
I started using express, a framework for node.js.
The following line
app.use(express.static(__dirname + '/live'));
Expected an identifier and instead saw 'static' (a reserved word)
Is it a correct warning or the reserved words are fine when used as properties ?
Thanks in advance,
- --- In firstname.lastname@example.org, "IceBox" <albertosantini@...> wrote:
>I read the following topic:
> Is it a correct warning or the reserved words are fine when used as properties ?
It seems JSLint is right. :)