Get started with coffee-script CDN
MIT licensed
Compiled language: CoffeeScript transpiles to JS, simplifies syntax, boosts productivity.
Tags:- coffeescript
- compiler
- language
- coffee
- script
- popular
Stable version
Copied!
How to start using coffee-script CDN
<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.cdnhub.io/coffee-script/2.7.0/coffeescript.js"></script>
</head>
<body>
<script type="text/coffeescript" src="example.coffee">
class Person
constructor: (@name) ->
greet: ->
console.log "Hello, #{@name}!"
john = new Person "John Doe"
john.greet()
</script>
</body>
</html>
Copied!
Copied!