JSFiddle - React, Tailwind, and code Playground

by Jacktea

JavaScript

//basic types of data stored in javascript

var myNumber = 1;

var myString = "this is a string";

var myBoolean = true; //boolean can be true or false

var myObject = {color: "red", name: "jack" };

var myArray = [1,2,3,4,"a","b", true, "hello"];

var myFunction = function() { /* function actions go here */ };