JSFiddle - React, Tailwind, and code Playground

by kkdaily

JavaScript

var test = 'hello'


function message() {
	var test = 'world'
  console.log(`i'm in the function scope. Test = ${test}`);
}


console.log(`i'm in the global scope. Test = ${test}`)