question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`do` is a reserved word in javascript

See original GitHub issue

great work on this library 👍

one note… since do is a reserved identifier in javascript, it is probably a good idea to use an alternative like run or execute or exec or something

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:1
  • Comments:13 (11 by maintainers)

github_iconTop GitHub Comments

4reactions
anatoliyarkhipovcommented, Nov 12, 2016

How about when / then?

2reactions
derekstaviscommented, Nov 7, 2016

I think we should come with something better than run. Let’s see how long we can stick with do until it bothers us?

Let’s keep this issue open as a tracking point 🗺️

Read more comments on GitHub >

github_iconTop Results From Across the Web

JavaScript Reserved Words - W3Schools
JavaScript Reserved Words ; in, instanceof, int ; let*, long, native ; null, package, private ; public, return, short ; super*, switch, synchronized ......
Read more >
JavaScript: Reserved Words - TechOnTheNet
There are reserved words that have special meaning in JavaScript and can not be used in your code as variables, function names or...
Read more >
Reserved words in JavaScript - JavaScripter.net
Reserved words in JavaScript ; case, false, long, throw ; catch, final, native, throws ; char, finally, new, transient.
Read more >
What are JavaScript Reserved Words and Keywords? Edureka
JavaScript reserved words or reserved identifier is a word that cannot be used as an identifier, such as the name of a variable,...
Read more >
Lexical grammar - JavaScript - MDN Web Docs
Some keywords are reserved, meaning that cannot be used as an identifier for variable declarations, function declarations, etc. They are often ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found