presentations/highlight-js/test/markup/coffeescript/function.txt

15 lines
267 B
Text
Raw Normal View History

2018-12-07 08:48:05 -06:00
returnNull = -> null
returnTrue = () -> true
square = (x) -> x * x
npmWishlist.sha256 = (str) ->
throw new Error()
str.split(" ").map((m) -> m.charCodeAt(0))
fs.readFile("package.json", "utf-8", (err, content) ->
data = JSON.parse(content)
data.version
)