Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'substr' not detected #14

Open
vaasav-kumar opened this issue Oct 20, 2022 · 1 comment
Open

'substr' not detected #14

vaasav-kumar opened this issue Oct 20, 2022 · 1 comment

Comments

@vaasav-kumar
Copy link

getting error Unexpected token: 'identifier' for the line transformJS('attibutes["time"] substr "234"')

@akilansengottaiyan
Copy link

There are syntax errors. substr is a callable expression. It should be used as substr("234") instead of substr "234".
And there are two expressions attibutes["time"] substr("234") used with space as a separator which is not a valid js expression

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants