1. Intro - Part B Flashcards
Summary: JS originally created as a browser-only language but is now used in many other environments as well Today JS is the most widely adopted browser language with full integration with HTML/CSS Many other languages have been developed, which get transpiled into JS, to provide certain feature
Why are abilities of JS limited in a browser environment?
2x
Protect safety of user
Prevent malicious access of a webpage to private info or harm user’s data
Give examples of restrictions
3x
TBA + see tutorial for fuller description
What combination of 3 features makes JS:
Unique as a browser technology
The most widespread tool for creating browser interfaces
3x
Full integration with HTML & CSS
Simplicity
Supported by all major browsers - enabled by default
What is the term for converting another language to JS before being run in the browser?
Transpiling
Why have new languages been developed that sit over JS?
Need for different features to suit requirements of different people and projects
Give examples of languages that sit over JS
5x
CoffeeScript - syntactic sugar - often used by Ruby devs
TypeScript - adds “strict data typing” - developed by MS
Flow - adds data typing - developed by FB
Dart - standalone with own engine - runs in non-browser environments (like mobile apps) but can also be transpiled - developed by Google
Brython - transpiles Python to JS
Where to find info re manuals and specs?
Tutorial page
Name two types of code editors with summaries of their uses
2x
IDE - Powerful, many features - usually operates on a whole project
Lightweight - Less powerful but fast, elegant and simple - usually for working on one file
See tutorial page for more details
Name two plug-ins that might be found in some lightweight editors
Directory-level syntax analyzers
Autocompleters
Where to find guidance on developer tools
Tutorial page