Jasvir NagraJavaScript Puzzle I: AnswerThe last puzzle asked what the following JavaScript snippet prints to the console:Nov 4, 2021Nov 4, 2021
Jasvir NagraJavaScript Puzzles: First in a series…JavaScript makes the use of semicolons to delimit statements optional. As The Good Parts warns, this is dangerous and is one of the sharp…Nov 4, 2021Nov 4, 2021
Jasvir NagraCute Curiosities: Depth-first vs Breadth-first SearchOne of the first things you learn in computer science are algorithms for searching trees. Two of the most basic are “Depth-first search”…Nov 12, 2020Nov 12, 2020
Jasvir NagraConway’s Proof of Free WillWe must believe in free will, I have to say good bye to John Conway. We have no choice. I will miss him.Apr 21, 20203Apr 21, 20203
Jasvir NagraMonoglots: When a subset is notTypeScript is a superset of JavaScript. Can you write a snippet of valid in both but which behaves differently depending on the…Sep 9, 20192Sep 9, 20192