Yesterday I found some people on my [favorite reddit][lolphp] wonder about the output of the following code:
<?php
$a = 1;
$c = $a + $a++;| describe("class system", function(){ | |
| it("should be possible to create classes", function(){ | |
| Class({name:'MyClass'}); | |
| expect(window.MyClass === undefined).toBeFalsy(); | |
| }); | |
| it("should be possible to create properties within classes", function(){ | |
| Class({ | |
| name:'MyClass', | |
| attrs:{ |