DEV Community

Discussion on: Two-way data binding in vanilla JS (POC)

Collapse
 
tormodvm profile image
Tormod Vold Mikkelsen

Very helpful! Thanks a lot. :)
You have a typo in there:

    const state = createState({
      name = 'Francesco'
      title = 'Front-end Engineer'
    });

Should be

    const state = createState({
      name: 'Francesco',
      title: 'Front-end Engineer'
    });