I’m using an ASP ‘classic’ server, with JavaScript as the language engine, specified by the directive:
<%@LANGUAGE='JAVASCRIPT'%>
I’ve noticed that `import’ seems to be a keyword.
Technical Information (for support personnel) * Error Type: Microsoft JScript compilation (0x800A03F2) Expected identifier /Default.asp, line 4, column 4 var import = 'whut' ---^
How is the `import’ keyword used, if at all?
Like in most programming languages, certain keywords are reserved. Javascript is a bit special since it reserves more keywords than are implemented in the language. Import is one of those words. Other examples are ‘private’ and ‘void’, though they are not implemented in the current releases.