Lukasz Czerwinski
Lukasz Czerwinski
``` 🦄 .editor // Entering editor mode (^D to finish, ^C to cancel) let a = 3 let a = 4 a ``` Expected: Error - variable 'a' is already...
Currently parser errors are neither short nor easy to read. First of all, the location should be much much shorter. Ideally, the message should be more friendly too. A standard...
I tried to translate a couple of Javascript scripts to AskScript and often I get blocked on some missing resources or language constructs. This ticket will list them all.
The following example should work but results in a Syntax Error: ``` ask { [ // opening bracket 1, // first value 2, // second value 3 // third value...
Javascript has both pre- and post-incrementation, useful in loops, e.g.: ``` let result = []; for (let i = 1; i
The following program does not work. The error is: ``` Error: Unknown identifier '='! ``` ``` // Below is a complete solution for a 5kyu Codewars task: // https://www.codewars.com/kata/54d81488b981293527000c8f/javascript //...
Running the following program in the Playground: ``` ask { 3[1] } ``` returns: ``` null ``` Expected: ``` Error: cannot access indexes of a number ```
There are some operators in AskVM, e.g. 'lessThan' resource (< binary operator) (src/askvm/resources/math/lessThan.ts), but we are missing logical operators, like 'and' resource (&& operator). Dear new contributor, If you have...
Running a program with `remote` always results in an error. ``` 🦄 .editor // Entering editor mode (^D to finish, ^C to cancel) remote('/') { hi() } Uncaught TypeError: fetch...
Calling a method named the same as an Object.prototype method results in a 'Cannot call null' error
Examples: ``` 3:toString 3:toString() 'a':__defineGetter__ 'a':__defineGetter__() ``` and other from Object.prototype return in an error: `Uncaught Error: Cannot call null` 