Functions in Javascript - 00011
Adem Deliaslan
Posted on October 6, 2019
note: please ignore xPos and yPos values all my posts.
var yourNameFunc = function(){
var textX = random(0, 300);
var textY = random(0, 300);
var yourName = "Adem Deliaslan";
fill(255, 0, 0);
textSize(30);
text("Hiiii, " + yourName, textX, textY);
};
yourNameFunc();
output: "Hiiii, Adem Deliaslan"
💖 💪 🙅 🚩
Adem Deliaslan
Posted on October 6, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.