Ghost in Tujiland
  • Home
Subscribe
Tagged

javascript

A collection of 3 posts

javascript

Blocking Unnecessary Functionalities

Tuj reads a bit NYTimes. One day he noticed an English word that he did not know in an article from NYTimes. As a learner, he decided to look up that word. He did a double click in order to select the word and the text size grew larger. (╯°□°)╯︵ ┻━┻ He

Tuji Apr 18, 2018 • 1 min read
javascript

Experimenting with JavaScript

Hurray! Tuj wrote a line of JavaScript! Reflect.apply(Array.prototype.slice, "hello world!",[0,4]); Ack! Tuj got smacked for calling a function in a complicated way. ;_; Why does one have Math.floor instead of Math.prototype.floor? Because Array is a global Function object whereas Math is a

Tuji Jun 29, 2017 • 1 min read
javascript

Tuj learning JavaScript: async & await

We went for some light reading, so we browsed to a page on async/await in JavaScript. Then we were led to look into Promise. Then we waded through the then hell. Then our headache worsened. The problem with the then hell still lies in callbacks. One cannot use the

Tuji Jun 1, 2017 • 1 min read
Ghost in Tujiland © 2023
Powered by Ghost