##Chai Expect
##Language Chains
- to
- be
- been
- is
- that
- and
- have
#!/bin/sh | |
':' //; exec "$(command -v nodejs || command -v node)" "$0" "$@" | |
console.log('Hello world!'); |
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
init: () => console.clear() | |
}); |
// recursive | |
/* | |
function fibonacci(n) { | |
return n < 2 ? n : fibonacci(n - 1) + fibonacci(n - 2); | |
} | |
*/ | |
// cached | |
function fibonacci(n, cache) { |
var piper = function(data) { | |
return { | |
data : data, | |
pipe : function(vai) { | |
data = vai(data); | |
console.log(data); | |
return this; | |
} |
##Chai Expect
##Language Chains
/* js-truth_table | |
* | |
* file: truth_table.js | |
* | |
* Copyright (c) 2011, Erik Nordstroem <[email protected]> | |
* | |
* Permission to use, copy, modify, and/or distribute this software for any | |
* purpose with or without fee is hereby granted, provided that the above | |
* copyright notice and this permission notice appear in all copies. | |
* |