WTFJS

Situs yang menunjukan “keanehan-keanehan” Javascript:

www.wtfjs.com

contoh:

parseInt(’06’); // hasilnya: 6
parseInt(’08’); // hasilnya: 0

Kenapa bisa begitu? coba saja sendiri. (reason-nya bisa dibaca di wtfjs.com)

Leave a comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.