Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save SevenworksDev/48313da2599b4d76de9c95f7fe83185c to your computer and use it in GitHub Desktop.
Save SevenworksDev/48313da2599b4d76de9c95f7fe83185c to your computer and use it in GitHub Desktop.
How to anger Javascript Developers

Angering JavaScript Developers for dummies

JavaScript is a cool programming language that is commonly used in websites and sometimes applications.

;

Ever heard of a semicolon? A semicolon (;) is whats commonly used in JavaScript.
There is one exact lookalike to the semicolon we all love.
Its the greek question mark. Now lets get to the coding part.

Woah! Chill down satan

Here is an example of JavaScript code, This of course prints Hello World to the console.

console.log("Hello World");

This is valid and does not contain any syntax errors.
Heres an example but with the greek question mark:

console.log("Hello World");

This is invalid because it contains a Syntax Error at the so called "semicolon".

Epic pranks that leads you to getting punched in the face

  1. Replace over half of semicolons in your friends JS file
  2. Ask a friend why the code isn't working then proceed to uploading the JS file
  3. Submit a StackOverflow post and cause a teeny bit of stress before your banned off the platform

Thanks for reading my future devil, see you next time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment