dart.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic. Learn more. OK, got it
Dart Synonymã®ç« ç«ã¦ããã¼ã¹ã¨ããéå¼ããªãã¡ã¬ã³ã¹ã§ãã Dartã¯2012å¹´3æç¾å¨ãã¾ã ã¾ã éæéçºä¸ã®è¨èªã§ããä»å¾ãè¨èªä»æ§ã«å¤æ´ã追å ãè¡ããã¦ããå¯è½æ§ãããã¾ãã®ã§ãæ¬ãªãã¡ã¬ã³ã¹ãåç §ã®éã«ã¯ãã®ç¹ã«ãçæãã ããã ç®æ¬¡ å°å ¥ï¼Getting startedï¼ HTMLã«Dartã³ã¼ããåãè¾¼ã¿ãã ããã°ã©ã ã®éå§ãã¤ã³ããç¥ããã Dartã³ã¼ããå®è¡ä¸å¯è½ãªå ´åã®å¦çãæå®ããã æ¨æºåºåï¼ã³ã³ã½ã¼ã«ï¼ã¸æååãåºåããã ã¢ã¼ãã«ã¢ã©ã¼ãã表示ãããã ã³ã¼ãã®ã¢ã¸ã¥ã¼ã«åï¼Code modularityï¼ ã©ã¤ãã©ãªãå®ç¾©ããã ã©ã¤ãã©ãªã使ç¨ããã åä¸ãã¡ã¤ã«ã®ã¿ãèªã¿è¾¼ã¿ãã å¤æ°ï¼Variablesï¼ å¤æ°ã宣è¨ãã¦å¤ãä»£å ¥ããã ããã©ã«ãå¤ã«ã¤ãã¦ç¥ããã å¤æ°å®£è¨ã®å·»ãä¸ãã«ã¤ãã¦ç¥ããã å¤æ´ã許å¯ããªãå¤æ°ã宣è¨ããã ã³ã¬ã¯ã·
Dartiumã¯Google Chromeã®å ã§ããChromiumããã¼ã¹ã«Dart VMãçµã¿è¾¼ãã Webãã©ã¦ã¶ã§ãã Google Chromeã¯ãªã¼ãã³ã½ã¼ã¹ã®Webãã©ã¦ã¶Chromiumããã¼ã¹ã«ä½ãããã½ããã¦ã§ã¢ã§ãããã®Chromiumã«JavaScriptã ãã§ãªãDartãå®è¡ã§ããããã«ããWebãã©ã¦ã¶ãDartiumã«ãªãã¾ãã èµ·åãã¾ãããåºæ¬çã«Chromiumã¨å¤ããã¾ããã ãã¢ã§ããDartããJavaScriptã¸å¤æããã¹ã¯ãªãããçãã¦ãã¡ããã¨è¡¨ç¤ºããã¾ãï¼Dartãèªèãã¦ãã¾ãï¼ã ã¹ã©ã¤ãã¼ã®ãã¢ã§ãã å¹¾ä½å¦æ¨¡æ§ãæããã¢ã§ããJavaScriptçã¨æ¯ã¹ã¦ããã¾ã§éããã¨è¨ãããã¨â¦å¤ãããªãæ°ããã¾ãã Dartiumã¯ã§å²ãã§ã³ã¼ããæ¸ãã¾ããDartã¯JavaScriptãããããã©ã¼ãã³ã¹ã«åªãã¦ããã大è¦æ¨¡ãªããã¸ã§ã¯ã
ç·¨éä¸ã 2011/10/16 ãã¡ã¯ããªã¼ã³ã³ã¹ãã©ã¯ã¿ (Factory constructors) ãè¿½è¨ ã³ã¡ã³ã åä¸è¡ã³ã¡ã³ã (single-line comment) // ã³ã¡ã³ã è¤æ°è¡ã³ã¡ã³ã (multi-line comment) /* ã³ã¡ã³ã ã³ã¡ã³ã ã³ã¡ã³ã */ ããã¥ã¡ã³ãç¨ã³ã¡ã³ã (documentation comments) /** ããã¥ã¡ã³ãç¨ã³ã¡ã³ã ã³ã¡ã³ã ã³ã¡ã³ã */ main ã¹ã¯ãªããã¯ãããã¬ãã«é¢æ°ã®mainããã int main() { // ããã°ã©ã // : } åºå print()ã使ã int main() { print('Hello, world!'); } /* Hello, world! */ ãªãã©ã« (literal) nullãªãã©ã« (nullLiteral) null çå½å¤ãªãã©ã« (bo
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}