Posts

Showing posts from August 6, 2018

JavaScript Common Mistakes

Image
Clash Royale CLAN TAG #URR8PPP <!-- main_leaderboard, all: [728,90][970,90][320,50][468,60] --> JavaScript Common Mistakes ❮ Previous Next ❯ This chapter points out some common JavaScript mistakes. Accidentally Using the Assignment Operator JavaScript programs may generate unexpected results if a programmer accidentally uses an assignment operator (=), instead of a comparison operator (==) in an if statement. This if statement returns false (as expected) because x is not equal to 10: var x = 0; if (x == 10) Try it Yourself » This if statement returns true (maybe not as expected), because 10 is true: var x = 0; if (x = 10) Try it Yourself » This if statement returns false (maybe not as expected), because 0 is false: var x = 0; if (x = 0) Try it Yourself » An assignment always returns the value of the assignment. Expecting Loose Comparison In regular comparison, data type does not matter. This if statement returns true: var x = 1...

Minamoto clan

Image
Clash Royale CLAN TAG #URR8PPP Minamoto clan 源氏 The emblem ( mon ) of the Minamoto clan Home province Various Parent house Imperial House of Japan Titles Various Founder Minamoto no Makoto Cadet branches Saga Genji Ninmyō Genji Montoku Genji Seiwa Genji Yōzei Genji Kōkō Genji Uda Genji Daigo Genji Murakami Genji Reizei Genji Kazan Genji Sanjō Genji Go-Sanjō Genji Go-Shirakawa Genji Juntoku Genji Go-Saga Genji Go-Fusakusa Genji Ōgimachi Genji Minamoto ( 源 ) was one of the surnames bestowed by the Emperors of Japan upon members of the imperial family who were excluded from the line of succession and demoted into the ranks of the nobility. The practice was most prevalent during the Heian period (794–1185 AD), although its last occurrence was during the Sengoku period. The Taira were another such offshoot of the imperial dynasty, making both clans distant relatives. The Minamoto clan is also called the Genji ( 源...

Honshu

Image
Clash Royale CLAN TAG #URR8PPP Honshū Native name: 本州 Honshū Honshū Geography Location East Asia Archipelago Japanese archipelago Area 227,962 km 2 (88,017 sq mi) Area rank 7th Length 1,300 km (810 mi) Width 50–230 km (31–143 mi) Coastline 10,084 km (6,265.9 mi) Highest elevation 3,776 m (12,388 ft) Highest point Mount Fuji Administration Japan Prefectures Tōhoku   Akita Prefecture   Aomori Prefecture   Fukushima Prefecture   Iwate Prefecture   Miyagi Prefecture   Yamagata Prefecture Kantō   Chiba Prefecture   Gunma Prefecture   Ibaraki Prefecture   Kanagawa Prefecture   Saitama Prefecture   Tochigi Prefecture   Tokyo Chūbu   Aichi Prefecture   Fukui Prefecture   Gifu Prefecture   Ishikawa Prefecture   Nagano Prefecture   Niigata Prefecture   Shizuoka Prefecture ...