Re:JavaScript Conquered the Web, Now It’s Taking Over the De...
by spion on Tuesday September 13, 2016 @11:33AM
(#12489158)
describe("something", () => {
it(should(exist))
it(should(be_owned_by, "root"))
});
Also _.map(["a"], s => alert(s))
Or just _.map(["a"], alert)
Re:JavaScript Conquered the Web, Now It’s Taking Over the De...
by qwer on Wednesday September 14, 2016 @01:25AM
(#12494412)
Except your rspec example isn't a change to the underlying language is it? Also, Check out mocha for the JavaScript equivalent.
Also, when you use only one function of lodash, you can't call it a language, but there are chains and flows for creating powerful pipelines for collection processing.
i.e.
vs.