Created
October 29, 2015 07:38
-
-
Save dimpu/8ba2759d589e8518900e to your computer and use it in GitHub Desktop.
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
//es5 | |
var html = '<div class="form-group">'+ | |
'<label class="sr-only" for="">label</label>'+ | |
'<input type="email" class="form-control" id="" placeholder="Input field">'+ | |
'</div>'; | |
console.log(html); | |
//es6 | |
'use strict'; | |
let html = `<div class="form-group"> | |
<label class="sr-only" for="">label</label> | |
<input type="email" class="form-control" id="" placeholder="Input field"> | |
</div>`; | |
console.log(html); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment