Introduction
In this lab, we will explore the fundamentals of JavaScript programming language through a series of hands-on exercises. The purpose of this lab is to help you gain a foundational understanding of JavaScript syntax, data types, operators, control structures, functions, and objects. By the end of this lab, you will have the knowledge and skills necessary to write basic JavaScript programs and build simple applications.
Checking if the Environment is Travis CI
To check if you're running on Travis CI, use the isTravisCI() function. This function checks if the TRAVIS and CI environment variables are present.
const isTravisCI = () => "TRAVIS" in process.env && "CI" in process.env;
To start coding on Travis CI, open the Terminal/SSH and type node.
Summary
Congratulations! You have completed the Environment Is Travis CI lab. You can practice more labs in LabEx to improve your skills.