Topic | Python | both | JavaScript |
---|---|---|---|
comments | # """ """ |
// /* */ |
|
declaration | my_var = 5 |
var myVar = 5 let myVar = 5 const myVar = 5 |
|
operators | // |
+ - * ** / % |
|
assignment | = += -= *= **= /= %= |
||
deletion | del(my_var) |
delete(myVar) |
|
increment decrement |
++ -- |
||
equivalence | is |
==``!= |
===``!== |