Skip to content
This repository has been archived by the owner on Oct 23, 2018. It is now read-only.

Commit

Permalink
Merge pull request #4133 from douglasmuraoka/master
Browse files Browse the repository at this point in the history
Merged by aniket965
  • Loading branch information
Aniket965 committed Oct 17, 2018
2 parents 5cec0b0 + f777b54 commit 95dc346
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions JavaScript/HelloWorldFromBrazil.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
const language = window.navigator.language;

// Have fun!
if (language === "pt-BR"){
if (Array(3)==",,") {
alert('hue');
}
if (NaN != NaN) {
alert('huehue');
}
if (0.1 + 0.2 != 0.3) {
alert('huehuehue');
}
if ([] + [] === '') {
alert('huehuehuehue');
}
} else{
alert('Hello world!');
}

0 comments on commit 95dc346

Please sign in to comment.