Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
my first ace test
#!/usr/bin/env node-streamline
"use strict";
var test = require("ace/src/lib/ace");
test(1, function(_) {
function Foo(x, _) {
this.x = x;
Foo.prototype.plus1 = function() {
return this.x + 1;
this.equal(new Foo(4, _).plus1(), 5, "constructor ok");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.