thwjason / hyf-javascript1 Goto Github PK
View Code? Open in Web Editor NEWJavaScript 1 Homework
JavaScript 1 Homework
Hi Jason, here is my feedback on your homework.
part01
part02
part03
x
with an empty string (let x = "";
). To declare a variable without initialising it you would just do let x;
.part05
let a = 10; //Math.round(z);
a
is now larger than z
, but still the output lists the value of z
(7.25) as the highest value. Can you fix this bug?mdn math
and see what you can find.part06
favAnimals
?"Kiwi"
and "Egret"
with an initial capital, then do the same with "Baby Pig"
." Egret"
.part08
if
statements such that you start a new line after an opening brace and indent the block of code inside the braces, like this:if (typeof foo === typeof bar) {
console.log("Variables foo and bar are SAME TYPE");
}
else {
console.log("Variables foo and bar are not SAME TYPE");
}
part10
Bottom line: one bug to solve, some formatting issues, but overall: well done:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.