DEV Community

Cover image for Java Script,Basic And Story
Sanjay Sugumar
Sanjay Sugumar

Posted on

Java Script,Basic And Story

the history of who invented the JavaScript language

Mocha was invented by American programmer Brendan Eich in May 1995

Mocha to JavaScript marketing strategies and corporate partnerships

Create 10 Days

ASCII (American Standard Code for Information Interchange) was created in the early 1960s to establish a universal language for computers.

The origin of the ASCII (American Standard Code for Information Interchange) Found 1961 by IBM engineer Bob Bemer

One Byte Eight Bit
A bit is the smallest unit of data and can store either 0 or 1. Eight bits make one byte. Bits are mainly used to measure network speed, such as 100 Mbps internet connections. Bytes are used to measure file sizes and storage, such as a 5 MB photo or a 512 GB SSD. Programming languages like Java, Python, and C use bytes to store and process data, while networking uses bits to represent data transfer speeds.

Translator: Converts source code into machine code.
Compiler: Converts the entire program into machine code before execution.
Interpreter: Converts and executes one line of code at a time.
Compiler is faster after compilation.
Interpreter is easier to debug because it reports errors line by line.

Data Type In Java Script

Primitive Data Type

numberic type
|
number
bigint
non-numeric type
|
string
boolean
null
undefined
symbol
non-primitive data type
|
object
arrys
function
date object
regular expression

*what is Typed Language *

| Statically Typed Language             | Dynamically Typed Language                      |
| ------------------------------------- | ----------------------------------------------- |
| Type checking occurs at compile time. | Type checking occurs at runtime.                |
| Variable types are fixed.             | Variable types can change.                      |
| Type declaration is usually required. | Type declaration is usually not required.       |
| Errors are detected before execution. | Errors may appear while the program is running. |
| Generally faster execution.           | Generally more flexible but slightly slower.    |
| Examples: C, C++, Java, C#, Go, Rust. | Examples: Python, JavaScript, Ruby, PHP.        |


Enter fullscreen mode Exit fullscreen mode

Top comments (0)