empty [ ] js code example
Example 1: empty javascript
function sum(a, a, c) { // !!! syntax error
'use strict';
return a + a + c; // wrong if this code ran
}
Example 2: empty javascript
'use strict';
delete Object.prototype; // throws a TypeError