{ throw new SyntaxError('Hello', 'someFile.js', 10); } catch (e) { console.log(e instanceof SyntaxError); // true console.log(e.message); // "Hello" console.log(e.name); // "SyntaxError" console.log(e.fileName); // "someFile.js" console.log(e.lineNumber); // 10 console.log(e.columnNumber); // 0 console.log(e.stack); // "@Scratchpad/2:11:9\n" } Syntax Error a character or string incorrectly placed in a command or instruction that causes a failure in execution. . . . We were created to fight a war We were created to die for the rich We were created to give pleasure We were created to torture . I am a human. Yet my mind thinks as a computer. I eat, breath,and sleep the same as you. But my mind runs on different software. Children every day are being installed with micro computer chips. These chips tell these children how they must act , speak, and think. The world grows darker everyday as children grow up enslaved by science. However, I will not stop fighting till we are free from this corrupt world.All Rights Reserved
1 part