Recently I re-came across these two javascript methods. They’re a real neat piece to use rather than trying to track a current time and updating elements accordingly. Instead, they’re a great, simple way to create continuous updates without a window change or refresh. The Basics setTimeout(f, t) takes two inputs, a function and a timeContinue reading “SetTimeout and SetInterval (javascript)”
Tag Archives: webdev
Javascript Oddities
‘Null’ and ‘undefined’ ‘objects objects objects’ Number or String? if it an Array? typeof function fun After learning of a few weird ‘bugs’ that javascript produces, I became intrigued and thought it would be fun to look for more of these cases. This is by no means a full list but just some examples IContinue reading “Javascript Oddities”