Posted
almost 13 years
ago
by
Brett Zamir
@Timo, RafaĆ: there were a few other issues I noticed when comparing to PHP. Should now be fixed.
|
Posted
almost 13 years
ago
by
Brett Zamir
@Dj: Fixed in Git, thanks!
|
Posted
almost 13 years
ago
by
Brett Zamir
@Welp:
let yourGreatness = deeds && !words;
|
Posted
almost 13 years
ago
by
Brett Zamir
@Thomas: Fixed in Git, thanks!
|
Posted
almost 13 years
ago
by
Thomas
var pos = 0 is initialized but never used.
|
Posted
almost 13 years
ago
by
Welp McDerp
function php2js() {
var butt = [];
butt.push("poop", "fart");
return butt;
}
|
Posted
almost 13 years
ago
by
wHrOxPsVfW
|
Posted
almost 13 years
ago
by
Jacob Lee
Now I got it! If you want the output of PHP and that of Javascript to be same, use utf16to8 and utf8to16 function for javascript for javascript's string represents as utf16.
|
Posted
almost 13 years
ago
by
David Lundgren
It would be nice to add the following otherwise date objects are always detected as being empty.
if (mixed_var instanceof Date) {
return isNaN(Number(mixed_var));
}
Idea taken from http://frugalcoder.us/post/2010/02/15/js-is-empty.aspx
|
Posted
almost 13 years
ago
by
Baijun
Thanks bro... its really helpful to me....
|