(Export error) ',' expected

Hi all, I’m trying to follow a tutorial but met with this error. Here you can find a screenshot of the tutorial and a screenshot of my project with the error message. Any help would be appreciated
2852

Hi there,

It looks like your variable name includes a dot i.e. var i1_chogaan.mp40 = ...

In TypeScript (and JavaScript) the dot notation is used to access properties of an object.

This means that in the code above, we’re attempting to access the mp40 function in the i1_chogaan object.

Since these don’t exist, the error is thrown.

Luckily it’s a very easy fix, all you’ll have to do is replace the dot for an underscore, so that your code looks like:

var i1_chogaan_mp40 = ...

Hope this helps :slight_smile:
Seb

1 Like