Think before you speak, read before you think.

javascript Math

by

in

获得 0 或 1

Math.floor(Math.random() * 2)

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *