I am just trying to declare "map" variable with "let". 

This results in the Unexpected token. A constructor, method, accessor, or 
property was expected 

am I missing something?

export class MapANDSetClass
{
let map = new Map();
map.set("A",1);
}

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to