ITæ¦è¨ããã®ãããã¦ããããã¿ã¤ããä¸æ¸ããããã³ã³ã¹ãã©ã¯ã¿ããããã¿ã¤ãã«å®è£ ãããã æ¸ãæ¹ããããã¨æã£ã¦ããã©ãCoffeeScript ã TypeScript ããæ¸ãåºãããJavaScriptãåèã«ãããï¼ æ¯è¼çè¦ãããã CoffeeScript 㨠TypeScript ã®ã©ã£ã¡ã§ãåããã㪠JavaScript ãçæããã£ã¦ãã¨ã¯ ãããªã«æªãæ¸ãæ¹ãããªã®ãã¨ããã CoffeeScriptclass Item constructor: (@price) -> showPrice: () -> alert(this.price); i = new Item(200) i.showPrice() ââââå¤æ JavaScriptvar Item, i; Item = (function() { function Item(price) { this.pr
{{#tags}}- {{label}}
{{/tags}}