Forráskód Böngészése

Merge pull request #65 from pbsinclair42/master

Fix typos in JavaScript exponential notation
Martin Kleppe 8 éve
szülő
commit
6b7e2e9ef4
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -213,8 +213,8 @@ As we have the character "e" from "undefined", we can use exponential notation t
 ```js
 ```js
 +("1e309")         //  Infinity
 +("1e309")         //  Infinity
 +("1e309")     +[] // "Infinity"
 +("1e309")     +[] // "Infinity"
-+("11e100")        //  1.1+e101
-+("11e100")    +[] // "1.1+e101"   (gives us `.`)
++("11e100")        //  1.1e+101
++("11e100")    +[] // "1.1e+101"   (gives us `.` and `+`)
 +("0.0000001")     //  1e-7
 +("0.0000001")     //  1e-7
 +("0.0000001") +[] // "1e-7"       (gives us `-`)
 +("0.0000001") +[] // "1e-7"       (gives us `-`)
 ```
 ```