javascript - node gets req but cannot get boolean
给我你的怀抱
给我你的怀抱 2017-05-16 13:38:28
0
3
568

I use ajax to submit the request


status writes a Boolean type of false
but the background gets the string 'false'. How to deal with this situation better? I always feel that it can be judged directly String is not good

给我你的怀抱
给我你的怀抱

reply all(3)
我想大声告诉你

Everything passed in the HTTP protocol is a string. It is not a programming language and has no data type definition.

習慣沉默

Replace it with 0 and 1

某草草

Semantic,
pending, passed, failedpending, passed, failed
normal, abnormalnormal, abnormal
Wait

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!