← cd ..

Worthless Promise

By Marta PCampos

<!DOCTYPE html>
                    var IPromise = true;
                    var myPromise = new Promise(
                        function(resolve, reject) {
                            if (IPromise) {
                            resolve(myPromise = null)
                                } else {
                                    var IDontPromiseYou= new Error('No');
                    var toPromise  = function (){
                            .then(function (fulfilled){
                <input id="boton-myPromise" type="button" value="toPromise " onclick="toPromise ()"/>

Open Inspect Element (right click + Inspect) and go to the console to view the result of this promise.

Artist's Note

The Spanish version of this piece can be found together with other artworks related to code and poetry in my website: https://martapcampos.com/proyectos/test-code/
Marta Pérez Campos is a PhD student at the Department of Art and Technology of the UPV/EHU in Bilbao (Spain). Master Interface Cultures by the Kunstuniversität Linz, (Austria) and graduated in Fine Arts at the University of Zaragoza (Spain).

Her interest in language and communication has made her current research focus on our relationship with and through technological devices; raising the possibility of communicating with them in a way closer to the artistic and away from automation.