if (1 + 1 <= y) { x = "Ebina"; } else if (y !== "2") { x = "Kirie"; } else { x = "Sylphynford"; } var abbr = ["U", "M", "R"]; for (var i = 0; i < abbr.length; i++) { console.log(abbr[i]); } var n = 0; while (n < 3) { console.log(abbr[n]); n += 1; } 12
I am a CommentBox. </div> ); } render: function () { return ( React.createElement('div', {className: "commentBox"}, "Hello, world! I am a CommentBox." ) ); } 20 JSX JS