Andrey (azangru) wrote,
Andrey
azangru

So syntax...

ES2015:

export const foo = 'bar';  // нормально
export default foo = 'bar';  // нормально
export default const foo = 'bar';  // ОШИБКА



(╯°□°)╯︵ ┻━┻
Subscribe

  • (no subject)

    There's a strange tendency out there for tech podcasters not to be good programmers themselves. There are exceptions, of course. The googlers at…

  • (no subject)

    Achievement unlocked: today, for the first time, I wrote an asynchronous iterator. Using an async generator (also for the first time; I never felt a…

  • (no subject)

    This is a good summation:

  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments