A programming language that is built into all internet browsers such as Safari, Chrome, and even into the browsers on your smart phone
superset ("StratifiedJS is a superset of JS")
A format of typed characters (language) that computers can understand
Computer somewhere in the world that makes sure that your experiment is relayed to your subjects. See this page for more information
A collection of handy functions you can use in your scripts (e.g., on NeuroTask Scripting Dojo and jQuery are loaded by default and can be used in your scripts)
Something that happens in the browser, e.g., a user clicking on something, a mouse moving, a key being pressed or released, but also a video starting or ending and much more
A function is some lines of code that perform a task. It can be called and reused. You can pass information to a function and it can send information back. An example is text("Hello"), where text is the function and "Hello" the argument; it shows the text Hello on the screen.
The data you pass into a function call, e.g., the string "Hello" in text("Hello"), which shows the word Hello on the screen
An object is a variable that may contain various types of properties, each of which may contain data. These are accessible through the so called dot-notation. E.g., response.age could hold the age of the subject entered earlier. An object may also have its own functions. For example, a Block b has a text() function, which you can call as b.text("Hello"), which shows the string Hello in the middle of the Block
A function returns a value with the keyword return. E.g., the function random() returns a random number between 0 and 1, using return internally to do this.
Remarks and explanations to future users of the code that do not do anything.
declaring a variable
creating it in the first place (you can jump right into initialization too! no need for "var e;" then "e = await("keypress");". you can just say "var e = await("keypress");"
NeuroTask BV is a company that specializes in online experiments and (neuro)psychological testing
Platform and infrastructure where users can program their own online experiments and collect data
Ready-made complete solutions for complex long-running experiments
Only neuropsychological tests
A series of commands that tells the computer (browser) what to do