JSFiddle - React, Tailwind, and code Playground

by Norlihazmey Ghazali

JavaScript

hello(); // xthrow error even function kito declare bwah
var hey;
hey(); // akan throw error sbb function xexist lg

function hello() {
   console.log("i can be called by anyone anywhere.. Hooray");
}

hey = function () {
  console.log("this code will never executed");
}

 // panggil hey(); sini baru x throw error