{"action":"created","issue":{"url":"https://api.github.com/repos/nilproject/NiL.JS/issues/56","repository_url":"https://api.github.com/repos/nilproject/NiL.JS","labels_url":"https://api.github.com/repos/nilproject/NiL.JS/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/nilproject/NiL.JS/issues/56/comments","events_url":"https://api.github.com/repos/nilproject/NiL.JS/issues/56/events","html_url":"https://github.com/nilproject/NiL.JS/issues/56","id":152057599,"number":56,"title":"var/let bugs","user":{"login":"Chamberlain91","id":2042721,"avatar_url":"https://avatars.githubusercontent.com/u/2042721?v=3","gravatar_id":"","url":"https://api.github.com/users/Chamberlain91","html_url":"https://github.com/Chamberlain91","followers_url":"https://api.github.com/users/Chamberlain91/followers","following_url":"https://api.github.com/users/Chamberlain91/following{/other_user}","gists_url":"https://api.github.com/users/Chamberlain91/gists{/gist_id}","starred_url":"https://api.github.com/users/Chamberlain91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chamberlain91/subscriptions","organizations_url":"https://api.github.com/users/Chamberlain91/orgs","repos_url":"https://api.github.com/users/Chamberlain91/repos","events_url":"https://api.github.com/users/Chamberlain91/events{/privacy}","received_events_url":"https://api.github.com/users/Chamberlain91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-30T22:56:07Z","updated_at":"2016-05-01T22:51:37Z","closed_at":null,"body":"```\r\nfunction f() {\r\n\t{\r\n\t\tlet x;\r\n\t\tconsole.log(x);\r\n\t\t{\r\n\t\t\t// okay, block scoped name\r\n\t\t\tconst x = \"sneaky\";\r\n\t\t\tconsole.log(x);\r\n\t\t\t// error, const\r\n\t\t\tx = \"foo\";\r\n\t\t\tconsole.log(x);\r\n\t\t}\r\n\t\t// error, already declared in block\r\n\t\tlet x = \"inner\";\r\n\t\tconsole.log(x);\r\n\t}\r\n}\r\n\r\nf();\r\n```\r\n\r\nlet x = \"inner\"; is not supposed to work because its redefined, isn't it?\r\n\r\nAlso,\r\n\r\nExample 3 of implace, works as expected with let, but doesn't with var. Is this intentional? I don't know the specifics of var vs let.\r\n\r\nAlso, quick question. It seems that es6 import/export isn't supported. Is there a list of features that aren't supported in NIL?"},"comment":{"url":"https://api.github.com/repos/nilproject/NiL.JS/issues/comments/216079209","html_url":"https://github.com/nilproject/NiL.JS/issues/56#issuecomment-216079209","issue_url":"https://api.github.com/repos/nilproject/NiL.JS/issues/56","id":216079209,"user":{"login":"Chamberlain91","id":2042721,"avatar_url":"https://avatars.githubusercontent.com/u/2042721?v=3","gravatar_id":"","url":"https://api.github.com/users/Chamberlain91","html_url":"https://github.com/Chamberlain91","followers_url":"https://api.github.com/users/Chamberlain91/followers","following_url":"https://api.github.com/users/Chamberlain91/following{/other_user}","gists_url":"https://api.github.com/users/Chamberlain91/gists{/gist_id}","starred_url":"https://api.github.com/users/Chamberlain91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chamberlain91/subscriptions","organizations_url":"https://api.github.com/users/Chamberlain91/orgs","repos_url":"https://api.github.com/users/Chamberlain91/repos","events_url":"https://api.github.com/users/Chamberlain91/events{/privacy}","received_events_url":"https://api.github.com/users/Chamberlain91/received_events","type":"User","site_admin":false},"created_at":"2016-05-01T22:51:37Z","updated_at":"2016-05-01T22:51:37Z","body":"I understand how `inplace` worked. I'll be happy to help test bugs for you.\r\nI'll be very excited for import/export."}}