1// Test whether strValue is empty or is None
2if (strValue) {
3 //do something
4}
5// Test wheter strValue is empty, but not None
6if (strValue === "") {
7 //do something
8}
1function sum(a, a, c) { // !!! syntax error
2 'use strict';
3 return a + a + c; // wrong if this code ran
4}
5