A Pen by Brian J. Cardiff on CodePen.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var babel = require("gulp-babel"), | |
glob = require("glob"), | |
gulp = require("gulp"), | |
concat = require('gulp-concat'), | |
sourcemaps = require("gulp-sourcemaps"), | |
typescript = require("gulp-typescript"); | |
gulp.task("javascript", function () { | |
var typescriptCompile = gulp.src(["./Scripts/**/*.ts", "./Scripts/typings/**/*.d.ts"]) | |
.pipe(sourcemaps.init()) |
JavaScript does not bother you too much with types (at first), which is both a blessing and a cure. But we all know the Boolean type. Boolean variables can either be true
or false
. Yes or no.
Every value in JavaScript can be translated into a boolean, true
or false
. Values that translate to true
are truthy, values that translate to false
are falsy. Simple.
This is about two ways to make that translation.
first install distrod
select archlinux
install it
systemd is not fully working yet, lets fix that