# Basics about Programming
In this first chapter, we'll learn the basics of programming and the Javascript language.
Programming means writing code. A book is made up of chapters, paragraphs, sentences, phrases, words and finally punctuation and letters, likewise a program can be broken down into smaller and smaller components. For now, the most important is a statement. A statement is analogous to a sentence in a book. On its own, it has structure and purpose, but without the context of the other statements around it, it isn't that meaningful.
A statement is more casually (and commonly) known as a _line of code_. That's because statements tend to be written on individual lines. As such, programs are read from top to bottom, left to right. You might be wondering what code (also called source code) is. That happens to be a broad term which can refer to the whole of the program or the smallest part. Therefore, a line of code is simply a line of your program.
Here is a simple example:
```javascript
var hello = "Hello";
var world = "World";
// Message equals "Hello World"
var message = hello + " " + world;
```
This code can be executed by another program called an _interpreter_ that will read the code, and execute all the statements in the right order.
没有合适的资源?快使用搜索试试~ 我知道了~
GitBook 教授 Javascript 编程基础知识.zip
共44个文件
md:39个
txt:2个
gitignore:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 166 浏览量
2024-11-25
08:16:11
上传
评论
收藏 47KB ZIP 举报
温馨提示
学习 JavaScript本书将教您编程和 JavaScript 的基础知识。无论您是否是经验丰富的程序员,本书都适合所有希望学习 JavaScript 编程语言的人。JavaScript(简称 JS)是一种使网页能够响应超出基本级别的用户交互的编程语言。它创建于 1995 年,是当今最著名和使用最广泛的编程语言之一。
资源推荐
资源详情
资源评论
收起资源包目录
GitBook 教授 Javascript 编程基础知识.zip (44个子文件)
strings
length.md 505B
create.md 673B
concat.md 653B
README.md 323B
arrays
length.md 499B
indices.md 1KB
README.md 434B
标签.txt 49B
assets
intro.png 23KB
LICENSE 11KB
basics
equality.md 1KB
types.md 1KB
comments.md 727B
README.md 1KB
variables.md 1KB
conditional
comparators.md 2KB
if.md 1KB
else.md 957B
README.md 931B
concatenate.md 2KB
objects
delete.md 574B
mutable.md 368B
prototype.md 2KB
creation.md 322B
properties.md 1KB
reference.md 552B
global_footprint.md 740B
README.md 216B
enumeration.md 535B
资源内容.txt 382B
numbers
create.md 574B
advanced.md 560B
README.md 340B
operators.md 693B
loops
dowhile.md 723B
while.md 989B
for.md 845B
README.md 413B
.gitignore 36B
functions
declare.md 904B
README.md 231B
higher_order.md 4KB
SUMMARY.md 1KB
README.md 481B
共 44 条
- 1
资源评论
徐浪老师
- 粉丝: 8084
- 资源: 7322
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- YOLO图片标注xml转txt代码
- 安卓壳可以用于大屏开机打开网址
- paddlepaddle-gpu-2.5.2-cp38-cp38-win-amd64.whl
- Babel Street Analytics Java 客户端库.zip
- 图像处理中的White Patch算法来实现白平衡,MATLAB实现
- 在android studio 中使用jni来进行编程
- 开机自动启动VMWARE workstation16虚拟机
- Python 爬虫:把廖雪峰的教程转换成 PDF 电子书
- 2024 年 Java 开发人员路线图.zip
- matplotlib-3.7.5-cp38-cp38-win-amd64.whl
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功