Keywords cannot be used as variable names or function names
break
case
catch
continue
default
delete
do
else
finally
for
function
if
in
instanceof
new
return
switch
this
throw
try
typeof
var
void
while
with
Reserved words are reserved for future keywords
also cannot be used as a variable or function name.
abstract
boolean
byte
char
class
const
debugger
double
enum
export
extends
final
float
goto
implements
import
int
interface
long
native
package
private
protected
public
short
static
super
synchronized
throws
transient
volatile
When defining variables, do not use keywords or reserved words, otherwise some inexplicable situations will occur.