Hi. I've tried to some up javascript cheatsheet in one article. Hope you like it.
JavaScript Basics
Set of JavaScript basic syntax to...
For further actions, you may consider blocking this person and/or reporting abuse
That moment when a comment has way more useful info than the article π
yeah absolutely.
Where's the advance part?
javascritp.info
When you print anything on console you must try other options too.
console.log(value) it's general one to log. Other can be used here like console.warn(), console.info(), console.error() and console.dir() Try it.
Thanks. Had to refresh my memory on JS. It's funny the DOM thing I know it MS products but had to look them up for JS. Pretty simple to be honest. And it sort of follows C/C++ formatting so there's that too.
Just use
getElemenyById('foo')
for elements with 'foo' idNice content...
(One typo in 11th bullet, protytype)
Nice! Thank you
Hi:
String REPLACE is wrong. It misses the SECOND parameter.
cfr.:
developer.mozilla.org/en-US/docs/W...
Regards
Niky
Awesom, you should post the cheatsheet, thanks
Hi:
Indicate WHAT is returned is in order; example: string match, search...
Indicate also what is returned if not comply (-1, NUL, etc.).
Regards
Thanks brother..π